Skip to content

Commit

Permalink
OIDC: Fix small regression after #982
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Sep 25, 2024
1 parent a65ec4b commit 7a5bb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwdb/resources/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def post(self, provider_name):
obj = loads_schema(request.get_data(as_text=True), schema)
redirect_uri = f"{app_config.mwdb.base_url}/oauth/callback"
provider = provider_settings.get_oidc_provider()
oidc_client = provider.get_oidc_client()
oidc_client = provider.client
id_token_claims = oidc_client.fetch_id_token(
obj["code"], obj["state"], obj["nonce"], redirect_uri
)
Expand Down

0 comments on commit 7a5bb18

Please sign in to comment.