-
Notifications
You must be signed in to change notification settings - Fork 141
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
Adding support for OIDCProviderTokenEndpoint, OIDCOAuthIntrospectionEndpoint and OIDCScope #747
Adding support for OIDCProviderTokenEndpoint, OIDCOAuthIntrospectionEndpoint and OIDCScope #747
Conversation
/cc @Fryguy @gtanzillo just the code, about to test now. |
Code-wise LGTM (aside from the one comment). |
…ndpoint and OIDCScope - Adding support for OIDCProviderTokenEndpoint and OIDCOAuthIntrospectionEndpoint if defined before resorting to the related token_endpoint and token_introspection_endpoint keys returned by the provider metadata URL. - Also specifying the scope for the provider calls to get and verify jwt tokens if defined in the OIDCScope parameter
26c74ec
to
f39454b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
…was not using the post_form which handles ssl by default.
if the parameter specified does not start the line.
against the provider for getting tokens and introspecting them.
…d_username as declared in manageiq-remote-user-openidc.conf.
Checked commits abellotti/manageiq-api@f39454b~...a04015c with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.20.0, and yamllint |
Was tested successfully with both Keycloak and IAM Identity Providers, un-wipping. |
Adding support for OIDCProviderTokenEndpoint, OIDCOAuthIntrospectionEndpoint and OIDCScope (cherry picked from commit 7677117) https://bugzilla.redhat.com/show_bug.cgi?id=1805914
Ivanchuk backport details:
|
Part of ManageIQ/manageiq#19867 |
This PR builds on top of #737 |
Adding support for OIDCProviderTokenEndpoint, OIDCOAuthIntrospectionEndpoint and OIDCScope
Adding support for OIDCProviderTokenEndpoint and OIDCOAuthIntrospectionEndpoint
if defined before resorting to the related token_endpoint and token_introspection_endpoint
keys returned by the provider metadata URL.
Also specifying the scope for the provider calls to get and verify jwt tokens if defined
in the OIDCScope parameter