-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor configuration to use only environment variables
- Loading branch information
1 parent
a428405
commit 7c4ddc5
Showing
5 changed files
with
61 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CLIENT_ID= | ||
CLIENT_SECRET= | ||
DEBUG=True | ||
URL_OIDC=https://openid-provider.org/oidc/.well-known/openid-configuration | ||
URL_CALLBACK=http://localhost:8080/callback | ||
URL_REDIRECT=http://localhost:8080/ | ||
SCOPE=openid | ||
RESOURCE=resource | ||
COOKIE_DOMAIN= | ||
CORS_DOMAINS= |
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 |
---|---|---|
|
@@ -7,3 +7,5 @@ tests/__pycache__ | |
*.json | ||
.tox | ||
.coverage | ||
.env* | ||
!.env.example |
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 |
---|---|---|
@@ -1,11 +0,0 @@ | ||
{ | ||
"client_id": "", | ||
"client_secret": "", | ||
"url_oidc": "https://openid-provider.org/oidc/.well-known/openid-configuration", | ||
"url_callback": "http://localhost:8080/callback", | ||
"url_redirect": "http://localhost:8080/frontend", | ||
"scope": "openid", | ||
"resource": "something", | ||
"cookie_domain": "", | ||
"cors_domains": [""] | ||
} | ||
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