-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
In module src/django_keycloak/services/oidc_profile.py, the object sitting around line 217. is missing access_tokenattribute:
token_object = client.openid_api_client.decode_token( token=token_response[token_response_key], key=client.realm.certs, algorithms=client.openid_api_client.well_known[ 'id_token_signing_alg_values_supported'], issuer=issuer )
Modyfing given code by including it solves this issue:
token_object = client.openid_api_client.decode_token( token=token_response[token_response_key], access_token=token_response['access_token'], key=client.realm.certs, algorithms=client.openid_api_client.well_known[ 'id_token_signing_alg_values_supported'], issuer=issuer )
Metadata
Metadata
Assignees
Labels
No labels