-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix proffered username sso configuration #243
Conversation
Signed-off-by: Aindriu Lavelle <[email protected]>
Signed-off-by: Aindriu Lavelle <[email protected]>
Signed-off-by: Aindriu Lavelle <[email protected]>
Deploying klaw-docs with Cloudflare Pages
|
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.
We could update klaw BE code to handle this claim internally, instead of asking user to update the claim. Ideally Klaw is dealing only with preferred usernames and not with email ids. And preferred usernames can be email ids.
IMO, this change is not required, rather we should update BE code in klaw
6. Each SSO provider can have a different "preferred username" attribute which identifies your user correctly. | ||
For Google update this attribute in the application.properties as below. | ||
|
||
`klaw.ad.username.attribute=email` |
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.
We should not force the organization to update this claim, as preferred_username can also be present in google SSO claims.
Signed-off-by: Aindriu Lavelle <[email protected]>
…cs into fix-preffered-username-sso
docs/authentication-authorization/authentication/third-party-account.md
Outdated
Show resolved
Hide resolved
…ccount.md Co-authored-by: Murali Basani <[email protected]>
Check your provider's documentation and select the attribute/claim that defines the username/login name. | ||
Update this attribute in the `application.properties` file, replacing 'preferred_username' with their attribute. | ||
|
||
`klaw.ad.username.attribute=preferred_username` |
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.
We can update this pr abit based on the pr Aiven-Open/klaw#2556
I've overridden DCO as the unsigned commits were mine. |
I have added additional information on setting up SSO with Klaw after an issue was raised recently.