Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erral committed Mar 15, 2024
1 parent fdf5953 commit 3a922bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pas/plugins/oidc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def get_user_info(client, state, args) -> Union[message.OpenIDSchema, dict]:
# offered by the provider.
# But we would need extra information to implement some of those
# methods such as private_key_jwt or client_secret_jwt.
# So that's the reason why we only allow `client_secret_post`
# or `client_secret_basic`, which are the most basic ones.
#
# So that's the reason why we only allow `client_secret_post` (the
# only one allowed by Apple) or `client_secret_basic` (the most
# basic one, allowed by most of the providers we have worked with)
if 'client_secret_post' in allowed_authn_methods:
allowed_authn_method = 'client_secret_post'
elif 'client_secret_basic' in allowed_authn_methods:
Expand Down

0 comments on commit 3a922bd

Please sign in to comment.