Add all oidc variables to .env.example

This commit is contained in:
2024-03-09 00:20:29 +01:00
parent a3ec224cf0
commit 7adfef9f36
2 changed files with 15 additions and 5 deletions

View File

@@ -25,10 +25,20 @@ UNLOGGED_PERMISSIONS=overall.read,overall.play
THEMOVIEDB_APIKEY=
PUBLIC_URL=http://localhost:5000
# You can use as many
OIDC_GOOGLE_URL=https://accounts.google.com/o/oauth2/v2/auth
OIDC_GOOGLE_CLIENTID=
OIDC_GOOGLE_SECRET=
# Use a builtin oidc service (google or discord):
# OIDC_DISCORD_CLIENTID=
# OIDC_DISCORD_SECRET=
# Or add your custom one:
OIDC_SERVICE_NAME=YourPrettyName
OIDC_SERVICE_LOGO=https://url-of-your-logo.com
OIDC_SERVICE_CLIENTID=
OIDC_SERVICE_SECRET=
OIDC_SERVICE_AUTHORIZATION=https://url-of-the-authorization-endpoint-of-the-oidc-service.com/auth
OIDC_SERVICE_TOKEN=https://url-of-the-token-endpoint-of-the-oidc-service.com/token
OIDC_SERVICE_PROFILE=https://url-of-the-profile-endpoint-of-the-oidc-service.com/userinfo
OIDC_SERVICE_SCOPE="the list of scopes space separeted like email identity"
# on the previous list, service is the internal name of your service, you can add as many as you want.
# Following options are optional and only useful for debugging.