fix: trying to add the required scopes

This commit is contained in:
maxDorninger
2025-05-30 19:12:08 +02:00
parent 09beb16a1a
commit e6a58d07a0

View File

@@ -31,12 +31,13 @@ if (
):
openid_config = OpenIdConfig()
openid_client = OpenID(
base_scopes=["openid", "email", "profile"],
client_id=openid_config.client_id,
client_secret=openid_config.client_secret,
name=openid_config.name,
openid_configuration_endpoint=openid_config.configuration_endpoint,
base_scopes=["openid", "email", "profile"],
)
openid_client.base_scopes = ["openid", "email", "profile"]
else:
openid_client = None