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

Research moving API OpenID-Connect/OAuth2 support into Apache configuration #19866

Closed
3 tasks done

Comments

@jvlcek
Copy link
Member

jvlcek commented Feb 24, 2020

manageiq-api PR 737 added OpenID-Connect/OAuth2 support to the API.

It might be possible to simplify this solution by leveraging OpenID-Connect/OAuth2 setup in the mod_auth_openidc configuration files.

This issue will be used to track this investigation.

@jvlcek
Copy link
Member Author

jvlcek commented Feb 24, 2020

@miq-bot add_label core/authentication
@miq-bot add_label refactoring
@miq-bot assign @jvlcek

@bdunne
Copy link
Member

bdunne commented Mar 13, 2020

If this is not possible, then tests should be added to cover the code moved in #19936

@chessbyte chessbyte changed the title Research moving API OpenID-Connect/OAuth2 support into configuration. Research moving API OpenID-Connect/OAuth2 support into Apache configuration Mar 20, 2020
@abellotti
Copy link
Member

Hi @jvlcek, was peeking at this today, looks like we should be able to protect our /api endpoint Location
using an AuthType of oauth20. There's a good write-up on it at https://github.com/zmartzone/mod_auth_openidc/wiki/OAuth-2.0-Resource-Server

Hopefully we can kick the tire with some of these examples.

@jvlcek
Copy link
Member Author

jvlcek commented Mar 20, 2020

@abellotti Thank you for that pointer. I'm kicking away at the tires on it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment