I installed SP on the wso2 authentication server and was able to get access_token in auth2 using the playground. Link: https://docs.wso2.com/display/IS510/OAuth+2.0+with+WSO2+Playground
Then I got access to the userinfo endpoint, for example:
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 must also be other properties, such as first name, last name, email address, etc. default. How to configure the server to return all this information?
PS tried IS 5.1 and 5.2
source
share