fix oauth
All checks were successful
Docker / build (release) Successful in 9s

This commit is contained in:
krek0 2026-05-17 06:36:48 +02:00
parent 1de1cb4086
commit 997fd760d2
11 changed files with 99 additions and 37 deletions

View file

@ -39,7 +39,15 @@ OAUTH_ONLY=False
#OAUTH_BUTTON_TEXT=Login with OAuth
#OAUTH_BUTTON_IMAGE=
# Space-separated OAuth2 scopes
#OAUTH_SCOPE=openid profile email
#OAUTH_SCOPE=openid profile email groups
# Comma-separated OAuth groups that grant Django staff (admin) access
#OAUTH_STAFF_GROUPS=admins moderators
# Map OAuth groups to Django groups: space-separated oauth_group:django_group pairs
#OAUTH_GROUP_MAP=editors:Editors photographers:Photographers
# Override OAuth2 endpoint URLs (default: authentik-style /application/o/...)
#OAUTH_AUTHORIZE_URL=https://auth.example.com/application/o/authorize/
#OAUTH_TOKEN_URL=https://auth.example.com/application/o/token/
#OAUTH_PROFILE_URL=https://auth.example.com/application/o/userinfo/
# Database engine: 'sqlite' or 'postgres'
DB_ENGINE=sqlite
@ -48,7 +56,7 @@ DB_ENGINE=sqlite
#DB_NAME=photo21
#DB_USER=photo21
#DB_PASSWORD=
#DB_HOST=localhost
#DB_HOST=db
#DB_PORT=5432
# SQLite settings (only used when DB_ENGINE=sqlite)