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 committed Jun 14, 2024
1 parent 26470d9 commit a1c336d
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 a1c336d

Please sign in to comment.