Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,20 @@ DATABASE_URL="mysql://davis:davis@127.0.0.1:3306/davis?serverVersion=10.9.3-Mari
MAILER_DSN=smtp://localhost:465?encryption=ssl&auth_mode=login&username=&password=
###< symfony/mailer ###

# The admin password for the backend
# Admin authentication method: "local" (default), "oidc", or "none"
# "none" bypasses authentication entirely (for upstream reverse-proxy auth)
ADMIN_AUTH_METHOD=local
# The admin password for the backend (in case of 'local' auth)
ADMIN_LOGIN=admin
ADMIN_PASSWORD=test
# You can bypass auth entirely by setting this to "true" (case sensitive).
# Useful if you use an external authorization provider such as Authelia
ADMIN_AUTH_BYPASS=false
# Required when ADMIN_AUTH_METHOD=oidc
OIDC_CLIENT_ID=davis
OIDC_CLIENT_SECRET=
OIDC_URL_AUTHORIZE=https://authelia.example.com/api/oidc/authorization
OIDC_URL_ACCESS_TOKEN=https://authelia.example.com/api/oidc/token
OIDC_URL_RESOURCE_OWNER=https://authelia.example.com/api/oidc/userinfo
# Space-separated scopes; "openid" is mandatory
OIDC_SCOPES=openid profile email

# Auth Realm for HTTP auth
AUTH_REALM=SabreDAV
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"doctrine/doctrine-bundle": "^2.15.1",
"doctrine/doctrine-migrations-bundle": "^3.4.2",
"doctrine/orm": "^2.20.6",
"knpuniversity/oauth2-client-bundle": "^2.20",
"sabre/dav": "^4.7.0",
"symfony/apache-pack": "^1.0.1",
"symfony/asset": "^7.4",
Expand Down
Loading
Loading