-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
How to get authorities by userId / userEmail instead of userName?
SecurityContextHolder.getContext()
.setAuthentication(new UsernamePasswordAuthenticationToken(authentication.getName(), null,
userDetailsService.loadUserByUsername(authentication.getName()).getAuthorities()));
couldn't get other user attributes other than name? May i know how to get that. Even when i try to get authentication.details() which returns null. Please guide me on this.
Note: Raised issue, incase to use only email as only unique column for user table. Otherwise working fine. Thanks!
You can close this, if we can't get userId / userEmail from the refreshToken.
@talk2amareswaran
Metadata
Metadata
Assignees
Labels
No labels