-
Notifications
You must be signed in to change notification settings - Fork 15
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
Oauth2 integration #2953
Oauth2 integration #2953
Conversation
e7842e2
to
de7732d
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.
Lovely ❤️
I don't know if I like much the OidcOauth
file naming, but well, I understand why you chose it hehe
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.
Hey @CDimonaco ,
I was testing the PR and i was having an error.
Adding the single line in my comment fixes it, but I don't know if something else could be affecting
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.
Fantastic!
Description
This PR adds support for Oauth2 SSO method.
All the runtime parameters, needed claims and scopes, will be later documented.
Locally we can use our keycloak instance with the same client who supports also plain oauth2, the local scopes are tailored to work with our local keycloak.
Tested also with Auth0.
This PR also adds supports for multiple forms of SSO, allowing for multiple integrations.
The SSO username retrieving is refactored.
To test it locally, in the
dev.local.exs
addHow was this tested?
Automatic and manual testing.