Skip to content

Commit

Permalink
fix resource config not being loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
teemukataja authored and gimppa committed Jun 14, 2024
1 parent 26470d9 commit 6012bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"URL_CALLBACK",
"URL_REDIRECT",
"SCOPE",
"RESOURCE",
"COOKIE_DOMAIN",
"CORS_DOMAINS",
"DEBUG",
Expand Down Expand Up @@ -133,7 +134,7 @@ async def login_endpoint():
"scope": CONFIG["SCOPE"],
}
# optional param for special cases
if "resource" in CONFIG:
if "RESOURCE" in CONFIG:
params["resource"] = CONFIG["RESOURCE"]

# prepare the redirection response
Expand Down

0 comments on commit 6012bb0

Please sign in to comment.