From 405097855f774a3b659772eec28705790a977f9b Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Mon, 26 Feb 2024 15:31:16 +0000 Subject: [PATCH] Revert unrelated change --- keycloak/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak/oauth.py b/keycloak/oauth.py index 9b0ea89..e19405d 100644 --- a/keycloak/oauth.py +++ b/keycloak/oauth.py @@ -53,7 +53,6 @@ def __init__( auth_method = PrivateKeyJWT(token_endpoint) client_kwargs.update( { - "code_challenge_method": "S256", "client_auth_methods": [auth_method], "token_endpoint_auth_method": auth_method.name, } @@ -66,6 +65,7 @@ def __init__( client_secret=client_secret, server_metadata_url=server_metadata_url, client_kwargs=client_kwargs, + code_challenge_method="S256", ) assert isinstance(oauth.keycloak, StarletteOAuth2App)