Commit graph

7 commits

Author SHA1 Message Date
564a00d46d Finish login and registration flow
- add template for login page
- add logout URL
- display user information
2024-09-20 15:59:51 +02:00
3f4e005cf3 Implement client certificate authentication
- add a cats.authentication.ClientCertificateBackend authentication
  backend implementation that extracts the used fields from a client
  certificate
- configure the AUTHENTICATION_BACKENDS setting to use the
  ClientCertificateBackend
- add cryptography dependency to parse certificate data
- add gunicorn as production dependency
- add a development configuration for Gunicorn
- document how to pass client certificate information via nginx reverse
  proxy
- add a certificate_login view and a basic home_page view and add
  corresponding URL patterns
- ignore PEM encoded files and temporary gunicorn files
2024-09-20 12:42:44 +02:00
0b7d001062 Cleanup data model 2024-09-20 10:57:25 +02:00
77464ecee4 Add generated cats app
- generated app by running python3 manage.py startapp cats
- add cats to INSTALLED_APPS in django_cats/settings.py
- generated model by running python3 manage.py inspectdb >
  cats/models.py
- generated migration by running python3 manage.py makemigrations -n
  "models_created_by_inspectdb" cats
2024-09-18 18:20:59 +02:00
d2ac11f238 Setup RemoteUserAuthentication
- user will be authenticated using the reverse proxy in front of the
  CATS application
2024-09-18 18:20:59 +02:00
1dc1310b9f Use environs to get settings 2024-09-17 17:37:36 +02:00
507af1df94 Add generated Django project code 2024-09-17 17:12:05 +02:00