-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(oauth2): support roles from userInfo mapping (#830)
If present in userAuthentication details, extract roles and use for login Note: potentially breaking if you had extended SpinnakerUserInfoTokenServices and expected the OAuth2SsoConfig.UserInfoMapping.roles to equal 'roles'. Otherwise unless explicitly configured by supplying a value for the userInfoMapping.roles no roles will be extracted from the userAuthentication.details which preserves existing behaviour.
- Loading branch information
Showing
3 changed files
with
100 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters