-
Notifications
You must be signed in to change notification settings - Fork 124
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 auth_provider to users/ endpoint to denote an SSO user #996
Conversation
Can one of the admins verify this patch? |
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.
Meant to request changes.
6fa65ff
to
cbb28db
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.
see suggestion for auth_provider
in UserSerializer.Meta
4eb9643
to
2eeb908
Compare
2eeb908
to
b2100df
Compare
Seems to be working, I just tested with my local keycloak setup, I had an admin user created outside keycloak, and logged in with one user that was in the test LDAP server.
|
b2100df
to
1b20ee3
Compare
1b20ee3
to
9bab5c4
Compare
/retest |
Requested changes were completed by PR author
Backport to stable-4.4: 💚 backport PR created✅ Backport PR branch: Backported as #1007 🤖 @patchback |
) * Create a new serializer method field "auth_provider" that returns the user's SSO providers if present; if not it returns `["django"]` * Add the "GALAXY_TOKEN_EXPIRATION" setting to the _ui/v1/settings/ endpoint Issue: AAH-952 (cherry picked from commit 501a299) Co-authored-by: Shaiah Emigh-Doyle <64337863+ShaiahWren@users.noreply.github.com>
Issue: AAH-952
Assignment: Add auth_provider to users/ endpoint to denote an SSO user
See on Jira: https://issues.redhat.com/browse/AAH-952
Creates a new serializer method field, "auth_provider" that checks to see if the user is an SSO user. If so, method returns the SSO provider; if not it returns "django" as a string.