Skip to content

Commit 67ccb7e

Browse files
committed
Add OIDCDiscoverURL mod_oidc option
This gets rid of one of the steps in the authentication flow. Closes-Bug: 1930055 Change-Id: I4ed4651b55a912f1d9aec7277bae6bb4776f1e0a (cherry picked from commit 510508e9fa416801af58c1aedcf24e0bf8e88194)
1 parent 6c304fe commit 67ccb7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ansible/roles/keystone/templates/wsgi-keystone.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ LogLevel info
7878
{% for idp in keystone_identity_providers %}
7979
{% if idp.protocol == 'openid' %}
8080
<LocationMatch /v3/auth/OS-FEDERATION/identity_providers/{{ idp.name }}/protocols/{{ idp.protocol }}/websso>
81+
OIDCDiscoverURL {{ keystone_public_url }}/redirect_uri?iss={{ item.identifier | urlencode }}
8182
Require valid-user
8283
AuthType openid-connect
8384
</LocationMatch>

0 commit comments

Comments
 (0)