Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

use GrailsUserDetailsService get authorities. #25

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

chenmins
Copy link
Contributor

if Use RoleGroup,this code will throw Exception in /oauth2/ask Link to an existing account
def authorities = userAuthorities.collect { new SimpleGrantedAuthority(it."${authorityPropertyName}") }

s2-quickstart sms User Role Requestmap --groupClassName=RoleGroup

@puneetbehl
Copy link
Contributor

Please remove the commented code

@puneetbehl puneetbehl changed the base branch from 2.0.x to 3.0.x January 19, 2024 20:05
@puneetbehl puneetbehl merged commit a76972b into grails:3.0.x Jan 19, 2024
2 checks passed
puneetbehl added a commit that referenced this pull request Jan 19, 2024
* use GrailsUserDetailsService get authorities.

* Update SpringSecurityOauth2BaseService.groovy

Remove commented code

---------

Co-authored-by: chenmin25 <[email protected]>
Co-authored-by: Puneet Behl <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants