Skip to content

Commit

Permalink
Use client_secret_basic for OpenID connect with FLAT (proycon/flat#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 19, 2021
1 parent 7836405 commit 5661cb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/languagemachines-python/templates/flat_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
OIDC_OP_TOKEN_ENDPOINT = "{{ oauth_token_url }}"
OIDC_OP_USER_ENDPOINT = "{{ oauth_userinfo_url }}"

OIDC_TOKEN_USE_BASIC_AUTH = True #Use client_secret_basic, if not enabled, client_secret_post will be default
{% if oauth_sign_algo %}
OIDC_RP_SIGN_ALGO = "{{ oauth_sign_algo }}" #should be HS256 or RS256
{% endif %}
Expand Down

0 comments on commit 5661cb1

Please sign in to comment.