Skip to content

Commit

Permalink
fallback app secret key to development
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Feb 19, 2024
1 parent 1721e6e commit ed960f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def get_oauth_credentials() -> tuple:
"OAUTH", "OSM_CLIENT_SECRET"
)
secret_key = os.environ.get("APP_SECRET_KEY") or config.get(
"OAUTH", "APP_SECRET_KEY"
"OAUTH", "APP_SECRET_KEY", fallback="development"
)
login_redirect_uri = os.environ.get("LOGIN_REDIRECT_URI") or config.get(
"OAUTH", "LOGIN_REDIRECT_URI", fallback="http://127.0.0.1:8000/v1/auth/callback"
Expand Down

0 comments on commit ed960f1

Please sign in to comment.