:wip: Some changes in custom-oauth

This commit is contained in:
Mawoka
2023-02-16 20:11:57 +01:00
parent 6f77bdebe1
commit 86821e2eb3
4 changed files with 99 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ def init_oauth() -> OAuth:
oauth.register(
name="custom",
client_kwargs={"scope": settings.custom_openid_provider.scopes},
server_metadata_url=settings.custom_openid_provider,
server_metadata_url=settings.custom_openid_provider.server_metadata_url,
client_id=settings.custom_openid_provider.client_id,
client_secret=settings.custom_openid_provider.client_secret,
)