-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: move settings to seperate file
- Loading branch information
dnikolay-ebc
committed
Jul 7, 2022
1 parent
18a2a73
commit 09688b9
Showing
2 changed files
with
146 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# Settings | ||
|
||
### ALLOWED_HOSTS | ||
|
||
> *description:* Hosts that are allowed to access the application. | ||
> Only neccessary if DJANGO_DEBUG=FALSE | ||
> | ||
> *default:* [] | ||
### COMPRESS_ENABLED | ||
|
||
> *description:* Compress js/css files | ||
> | ||
> *default:* not DJANGO_DEBUG | ||
### DJANGO_DEBUG | ||
|
||
> *description:* Run Django with debug options. Not for production use! | ||
> | ||
> *default:* False | ||
### DJANGO_SECRET_KEY | ||
|
||
> *description:* Django secret (min. 32 characters) | ||
> | ||
> *default:* Auto generated key | ||
### LANGUAGE_CODE | ||
|
||
> *description:* Application default language | ||
> | ||
> *default:* en-us | ||
### LOGIN_REDIRECT_URL | ||
|
||
> *description:* Application successful login redirect url. | ||
> | ||
> *default:* /oidc/callback/ | ||
### LOGIN_URL | ||
|
||
> *description:* Application login url. Requires further changes. | ||
> | ||
> *default:* /oidc/authenticate | ||
### LOGOUT_REDIRECT_URL | ||
|
||
> *description:* Application successful logout redirect url. | ||
> | ||
> *default:* / | ||
### OIDC_OP_AUTHORIZATION_ENDPOINT | ||
|
||
> *description:* OIDC provider authorization endpoint. | ||
> | ||
> *default:* None | ||
### OIDC_OP_JWKS_ENDPOINT | ||
|
||
> *description:* OIDC provider jwks endpoint. | ||
> | ||
> *default:* None | ||
### OIDC_OP_TOKEN_ENDPOINT | ||
|
||
> *description:* OIDC provider token endpoint. | ||
> | ||
> *default:* None | ||
### OIDC_OP_USER_ENDPOINT | ||
|
||
> *description:* OIDC provider user endpoint. | ||
> | ||
> *default:* None | ||
### OIDC_PROJECT_ADMIN_ROLE | ||
|
||
> *description:* Project admin role configured in OIDC provider. | ||
Project admins can create projects and edit their own projects. | ||
> | ||
> *default:* project_admin | ||
### OIDC_RP_CLIENT_ID | ||
|
||
> *description:* Client id from OIDC provider. | ||
> | ||
> *default:* None | ||
### OIDC_RP_CLIENT_SECRET | ||
|
||
> *description:* Client secret from OIDC provider. | ||
> | ||
> *default:* None | ||
### OIDC_SERVER_ADMIN_ROLE | ||
|
||
> *description:* Server admin role configured in OIDC provider. | ||
Server admins can create/update projects for any project admin. | ||
> | ||
> *default:* server_admin | ||
### OIDC_SUPER_ADMIN_ROLE | ||
|
||
> *description:* Super admin role configured in OIDC provider. | ||
> | ||
> *default:* super_admin | ||
### OIDC_TOKEN_ROLE_FIELD | ||
|
||
> *description:* Field in ID token that represents user roles. | ||
> | ||
> *default:* roles | ||
### OIDC_USER_ROLE | ||
|
||
> *description:* User role configured in OIDC provider. | ||
> | ||
> *default:* user | ||
### TIME_ZONE | ||
|
||
> *description:* Application timezone | ||
> | ||
> *default:* Europe/Berlin |