How to set UserInfo to OIDCUserAuthority in Spring Authorization Server response

Viewed 11

When I check authorities object of class OidcUserAuthority in client side, I can see that token, roles (i.e default role_user) and attribute are being set. However, I can not see any data in user Info. So, I am wondering if there is a way to customize the response to set some user data to user info. Below is the screenshot of what we are getting in client side after successful login.

enter image description here

Thanks,

0 Answers
Related