In WSO2 IS admin console, we are trying to set the user claims for a service provider under 'Claim Configuration'.
We selected the Claim mapping Dialect as 'Define Custom Claim Dialect' and added Local claims as :
- http://wso2.org/claims/givenname
- http://wso2.org/claims/lastname
- http://wso2.org/claims/emailaddress
But when we perform a curl with /oauth2/userinfo, it just gives us last name and email. But first name is not being returned.
Returned User Info:
{"sub":"[email protected]","family_name":"abcFN","email":"[email protected]"}
Any pointers for the issue will be helpful.