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

Mock pouta_access_token #50

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Mock pouta_access_token #50

merged 1 commit into from
Dec 19, 2024

Conversation

emm1R
Copy link
Member

@emm1R emm1R commented Dec 19, 2024

In order for the user to be able to use Keystone without having to give their password, AAI now returns a pouta_access_token which can be exchanged for an unscoped Keystone token at /v3/OS-FEDERATION/identity_providers/oauth2_authentication/protocols/openid/auth. Here a python script starts a server at port 5001 and has the aforementioned endpoint available. It also proxies all other requests to port 5000, so the port 5001 can be used for Keystone endpoints as well. To use the mocked endpoint, give the Bearer token a token created, e.g., with openstack token issue or get first a unscoped token with a password.

@emm1R emm1R requested a review from sampsapenna December 19, 2024 12:50
@emm1R emm1R self-assigned this Dec 19, 2024
@emm1R emm1R merged commit 5c16812 into main Dec 19, 2024
2 checks passed
@emm1R emm1R deleted the feature/pouta-token branch December 19, 2024 12:57
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