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.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to