diff --git a/main.py b/main.py index eb02a95..19d5ea1 100644 --- a/main.py +++ b/main.py @@ -24,6 +24,7 @@ "URL_CALLBACK", "URL_REDIRECT", "SCOPE", + "RESOURCE", "COOKIE_DOMAIN", "CORS_DOMAINS", "DEBUG", @@ -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