HI Sanjeewa,

This is not tenant specific issue.

Thanks

On Tue, Nov 11, 2014 at 6:18 PM, Sanjeewa Malalgoda <[email protected]>
wrote:

>
>
> On Tue, Nov 11, 2014 at 6:18 PM, Sanjeewa Malalgoda <[email protected]>
> wrote:
>
>> Hi Waruna,
>> I can see role list claim in this JWT (which is generated on behalf of
>> user). So it seems user claims retrieving is working fine. We can check
>> claims with profile management feature. Shall we check that. And is this
>> tenant specific issue? We might need to debug DefaultClaimsRetriever
>> and JWTGenerator classes to identify exact issue here.
>>
>> Thanks,
>> sanjeewa.
>>
>> On Tue, Nov 11, 2014 at 5:31 PM, Waruna Perera <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I am writing a test case to check user claims in JWT token for API
>>> invocation. I have a user with firstname, lastname and few other fields
>>> entered. But when i decode the user claims received it only shows
>>> following. What could be the error I am doing here?
>>>
>>> {
>>>     "iss": "wso2.org/products/am",
>>>     "exp": 1415706288828,
>>>     "http://wso2.org/claims/subscriber": "subscriberUser",
>>>     "http://wso2.org/claims/applicationid": "4",
>>>     "http://wso2.org/claims/applicationname":
>>> "APILifeCycleTestAPI-application1",
>>>     "http://wso2.org/claims/applicationtier": "Gold",
>>>     "http://wso2.org/claims/apicontext": "/tokenTest",
>>>     "http://wso2.org/claims/version": "1.0.0",
>>>     "http://wso2.org/claims/tier": "Gold",
>>>     "http://wso2.org/claims/keytype": "PRODUCTION",
>>>     "http://wso2.org/claims/usertype": "APPLICATION",
>>>     "http://wso2.org/claims/enduser": "[email protected]",
>>>     "http://wso2.org/claims/enduserTenantId": "-1234",
>>>     "http://wso2.org/claims/role":
>>> "Internal/subscriber,Internal/everyone"
>>> }
>>>
>>> Thanks,
>>>
>>> --
>>> Waruna Perera
>>> Senior Software Engineer - Test Automation
>>> Mobile: +94 77 3867037
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>>
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +94713068779
>>
>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>> :http://sanjeewamalalgoda.blogspot.com/
>> <http://sanjeewamalalgoda.blogspot.com/>
>>
>>
>>
>
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
>  <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/
> <http://sanjeewamalalgoda.blogspot.com/>
>
>
>


-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to