Hi Shib,

   Only the username (sub) information will be available in the response
when calling the */userinfo* endpoint by default. You can customize the
information to be returned in the response by configuring claims of the
relevant Service Provider generated for the Application created in API
Store. You can refer [1] in order to achieve this.

[1]
https://docs.wso2.com/display/IS530/Configuring+Claims+for+a+Service+Provider


Thanks,
Tharika.

On Tue, Jun 12, 2018 at 4:39 PM shibsankar <[email protected]> wrote:

> I have LDAP User store configured in WSO2.
>
> I am calling *userinfo *API  to get  user info for a given user *access
> token.  *
>
> ( This *access token* has been generated for a given LDAP username &
> password with grant type is password )
>
> I was expecting *userinfo API*  to respond with user First Name & Last
> Name  ....but it did not.
>
> Please see the screenshot attached.
>
> How to fix this?
>
>
>
> Regards
> Shib
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Tharika Madurapperuma*
Software Engineer | WSO2, Inc.

Email : [email protected]
Mobile : +94777875624
Web : http://wso2.com

<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to