Skip to content

Commit

Permalink
Add OIDCDiscoverURL mod_oidc option
Browse files Browse the repository at this point in the history
This gets rid of one of the steps in the authentication flow.

Closes-Bug: 1930055
Change-Id: I4ed4651b55a912f1d9aec7277bae6bb4776f1e0a
(cherry picked from commit 510508e9fa416801af58c1aedcf24e0bf8e88194)
  • Loading branch information
jovial committed Jul 14, 2021
1 parent 114a209 commit c5cefe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/keystone/templates/wsgi-keystone.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ LogLevel info
{% for idp in keystone_identity_providers %}
{% if idp.protocol == 'openid' %}
<LocationMatch /v3/auth/OS-FEDERATION/identity_providers/{{ idp.name }}/protocols/{{ idp.protocol }}/websso>
OIDCDiscoverURL {{ keystone_public_url }}/redirect_uri?iss={{ item.identifier | urlencode }}
Require valid-user
AuthType openid-connect
</LocationMatch>
Expand Down

0 comments on commit c5cefe3

Please sign in to comment.