Getting only sub in UserInfoEndpoint

I just follow what is in the guide

I already filled out the user profile information, but so far I only getsub . I want to get something like this in the manual:

{ 
   "sub":"admin",
   "email":"admin@wso2.com",
   "website":"https://wso2.com",
   "name":"admin",
   "family_name":"admin",
   "preferred_username":"admin",
   "given_name":"admin",
   "profile":"https://wso2.com",
   "country":"Sri Lanka"
}

Config

Identity Server - AWS Cloud with Domain and SSL + Nginx Proxy

Web Application Example - Local Machine

enter image description here enter image description here

UPDATE:

+4
1

OIDC id_token userinfo, ( , IS 5.2.0).
1. . 2. [1].
3. '/_system/config/oidc' "openid" ( IS 5.2.0 [2]).

0

Source: https://habr.com/ru/post/1660461/


All Articles