Hi Monika,

Seems like you haven't subscribed to the dev mailing list properly.. So the
mails you sent to dev getting on hold.. For the moment, i have fwd the mail
to the dev mailing list on your behalf..

@Sathya: Can you check on this please..


---------- Forwarded message ----------
From: Monika Sharma <monika.sha...@india.nec.com>
Date: Tue, Feb 20, 2018 at 8:29 AM
Subject: RE: Query Regarding the JIRA BUG- IDEBTITY-4250
To: Darshana Gunawardana <darsh...@wso2.com>, WSO2 Developers' List <

Hello sir ,

Thank you so much for giving your valuable time. I have tried by adding
requested claims in the SP.

I have added the following request claims in the SP :

1.       http://wso2.org/claims/userid

2.       http://wso2.org/claims/created

3.       http://wso2.org/claims/country

4.       http://wso2.org/claims/displayName

5.       http://wso2.org/claims/emailaddres

6.       http://wso2.org/claims/givenName

7.       http://wso2.org/claims/groups

And subject claim URI is:

1.       http://wso2.org/claims/emailaddres

Now response is as below:


"sub”: admin",

"give_name" : "admin",

  "email" : "ad...@wso2.com"


Only few information is displayed. Please let me know is it expected result

Thanks & Regards

Monika Sharma

*From:* Darshana Gunawardana [mailto:darsh...@wso2.com]
*Sent:* Saturday, February 17, 2018 10:13 PM
*To:* Monika Sharma; WSO2 Developers' List
*Subject:* Re: Query Regarding the JIRA BUG- IDEBTITY-4250

Hi Monika,

Have you added requested claims in the SP claim configurations section? If
you haven't added any requested claims, returning only the subject from the
userinfo endpoint is expected..

Try adding requested claims in the SP.


On Fri, Feb 16, 2018 at 3:29 PM, Monika Sharma <monika.sha...@india.nec.com>

Hello sir,

I have a query regarding the https://wso2.org/jira/browse/IDENTITY-4250  bug
of wso2 identity server. It has been fixed in 5.3.0 Beta version of wso2
identity server. But I am facing the same issue in the 5.3.0 release
version of wso2 identity server and also verified in the 5.4.0 release
version, problem is remains in both version. Please check this issue. I
have followed the below steps to reproduce this issue:

Steps :

1.       Register a SP for playground app
Callback URL - http://localhost:8080/playground2/oauth2client
Allowed Grant Types = Code

2.       Visit the URL http://localhost:8080/playground2/oauth2.jsp
<http://localhost:8080/playground2/oauth2.jsp>and enter the below details
and submit
Authorization Grant Type : Authorization Code
Client ID : (the client id received at the application registration)
Scope : openid
Callback URL : http://localhost:8080/playground2/oauth2client
Authorize Endpoint : https://localhost:9443/oauth2/authorize

3.       Enter user name and password of the admin and click on login

4.       Enter callback url and other info

5.       Enter the user info endpoint and click on get user info

I have follow this link to register app https://docs.wso2.com/display/
<https://docs.wso2.com/display/IS530/Basic+Client+Profile+with+Playground> and
try to access the user information through the curl command using a valid
access token

Issue: Only 'subject' field is returned when userinfo is requested by curl
command using a valid access token

e.g  curl -k -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://

The following response is displayed:


But Expected response should be displayed as below




   "website":"https://wso2.com"; <https://wso2.com/>,





   "profile":"https://wso2.com"; <https://wso2.com/>,

   "country":"Sri Lanka"


Thanks & Regards

Monika Sharma



*Darshana Gunawardana*

Technical Lead

WSO2 Inc.; http://wso2.com
* E-mail: **darsh...@wso2.com* <darsh...@wso2.com>
* Mobile: +94718566859 <+94%2071%20856%206859>*
Lean . Enterprise . Middleware


*Darshana Gunawardana*Technical Lead
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com <darsh...@wso2.com>*
*Mobile: +94718566859*Lean . Enterprise . Middleware
Dev mailing list

Reply via email to