Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a1c336d

Browse files
committedJun 14, 2024··
fix resource config not being loaded
1 parent 26470d9 commit a1c336d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"URL_CALLBACK",
2525
"URL_REDIRECT",
2626
"SCOPE",
27+
"RESOURCE",
2728
"COOKIE_DOMAIN",
2829
"CORS_DOMAINS",
2930
"DEBUG",
@@ -133,7 +134,7 @@ async def login_endpoint():
133134
"scope": CONFIG["SCOPE"],
134135
}
135136
# optional param for special cases
136-
if "resource" in CONFIG:
137+
if "RESOURCE" in CONFIG:
137138
params["resource"] = CONFIG["RESOURCE"]
138139

139140
# prepare the redirection response

0 commit comments

Comments
 (0)
Please sign in to comment.