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

sub field is the django user ID by default #1

Closed
uwekamper opened this issue Nov 18, 2021 · 2 comments
Closed

sub field is the django user ID by default #1

uwekamper opened this issue Nov 18, 2021 · 2 comments
Assignees

Comments

@uwekamper
Copy link
Member

uwekamper commented Nov 18, 2021

image

"sub": 18 should be "sub": "{c-base username}" or the c-base uid from LDAP "sub": 3123

@uwekamper uwekamper self-assigned this Nov 18, 2021
@ForsakenHarmony
Copy link
Member

For reference: https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
sub could be either the c-base member name or member id
email is self-explanatory
maybe preferred_username as member name if full name is something we want to return in name (LDAP does not have everyone's full name anyway)

@uwekamper
Copy link
Member Author

fixed.

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

No branches or pull requests

2 participants