I have set up SP in wso2 Identity server and was able to get access_token in auth2 using playground. Ref : https://docs.wso2.com/display/IS510/OAuth+2.0+with+WSO2+Playground
Then I accessed userinfo endpoint like :
curl -k -H "Authorization: Bearer 603b0a91-0354-3b64-90e9-0eb1fdd8f162" https://localhost:9443/oauth2/userinfo?schema=openid
I always get JSON :
{"sub":"admin@carbon.super"}
But there should also be other properties like first name,last name, email ... etc by default. How do I configure server to return all these information?
P.S tried IS 5.1 and 5.2