Skip to content

Commit 501c8de

Browse files
jovialcityofships
authored andcommitted
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 e745575)
1 parent a329dff commit 501c8de

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-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
@@ -79,6 +79,7 @@ LogLevel info
7979
{% for idp in keystone_identity_providers %}
8080
{% if idp.protocol == 'openid' %}
8181
<LocationMatch /v3/auth/OS-FEDERATION/identity_providers/{{ idp.name }}/protocols/{{ idp.protocol }}/websso>
82+
OIDCDiscoverURL {{ keystone_public_url }}/redirect_uri?iss={{ idp.identifier | urlencode }}
8283
Require valid-user
8384
AuthType openid-connect
8485
</LocationMatch>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue with an OIDC authentication flow requiring unnecessary
5+
action from the user. Redirecting to the target IdP page now happens
6+
automatically.
7+
`LP#930055 <https://bugs.launchpad.net/kolla-ansible/+bug/1930055>`__

0 commit comments

Comments
 (0)