Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to OpenID Connect Authentication flow #47

Draft
wants to merge 1 commit into
base: cumulus/train
Choose a base branch
from

Conversation

jovial
Copy link
Collaborator

@jovial jovial commented Jul 21, 2021

This pull request adds support for the OpenID Connect authentication
flow in Keystone and enables both ID and access token authentication
flows. The ID token configuration is designed to allow users to
authenticate via Horizon using an identity federation; whereas the
Access token is used to allow users to authenticate in the OpenStack CLI
using a federated user.

Without this PR, if one wants to configure OpenStack to use identity
federation, he/she needs to do a lot of configurations in the keystone,
Horizon, and register quite a good number of different parameters using
the CLI such as mappings, identity providers, federated protocols, and
so on. Therefore, with this PR, we propose a method for operators to
introduce/present the IdP's metadata to Kolla-ansible, and based on the
presented metadata, Kolla-ansible takes care of all of the
configurations to prepare OpenStack to work in a federated environment.

Implements: blueprint add-openid-support
Co-Authored-By: Jason Anderson [email protected]
Change-Id: I0203a3470d7f8f2a54d5e126d947f540d93b8210
(cherry picked from commit f3fbe83)

This pull request adds support for the OpenID Connect authentication
flow in Keystone and enables both ID and access token authentication
flows. The ID token configuration is designed to allow users to
authenticate via Horizon using an identity federation; whereas the
Access token is used to allow users to authenticate in the OpenStack CLI
using a federated user.

Without this PR, if one wants to configure OpenStack to use identity
federation, he/she needs to do a lot of configurations in the keystone,
Horizon, and register quite a good number of different parameters using
the CLI such as mappings, identity providers, federated protocols, and
so on. Therefore, with this PR, we propose a method for operators to
introduce/present the IdP's metadata to Kolla-ansible, and based on the
presented metadata, Kolla-ansible takes care of all of the
configurations to prepare OpenStack to work in a federated environment.

Implements: blueprint add-openid-support
Co-Authored-By: Jason Anderson <[email protected]>
Change-Id: I0203a3470d7f8f2a54d5e126d947f540d93b8210
(cherry picked from commit f3fbe83)
@jovial jovial marked this pull request as draft July 22, 2021 08:48
@jovial
Copy link
Collaborator Author

jovial commented Jul 22, 2021

Not yet tested as the plan is to move to victoria first.

@jovial
Copy link
Collaborator Author

jovial commented Nov 5, 2021

I've also got this patch: https://review.opendev.org/c/openstack/kolla-ansible/+/793622 that we may need to make the workflow similar to the existing one.

@jovial
Copy link
Collaborator Author

jovial commented Nov 5, 2021

This is another piece we might need: https://kristi.nikolla.me/sso-logout-workaround-in-openstack-horizon/

@jovial
Copy link
Collaborator Author

jovial commented Nov 5, 2021

Here is an attempt to switch to this method of configuration: RSE-Cambridge/cumulus-kayobe-config@35282d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants