0
votes

I have using wso2 IS with another configured identity provider like: google,yahoo. when i logged form IDP and redirect back to callback URL my application call /outh2/token API to fetch id_token base on authorization_code but the problem is not getting remote claim (IDP custom claim attribute) which i have configured in service provider mapping.I have facing this issues randomly not for all user.

Success claims Log:TID: [-1234] [] [2018-04-24 07:25:03,300] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler} - Returning claims from claim handler = [middle_name:M,given_name:abc,family_name:xyz,email:[email protected],]

Failure claims Log: 07:32:19,062] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler} - Returning claims from claim handler = []

1
do you have the above-mentioned custom claim values assigned to that user which is giving failure?Nilasini
yes,It's working for same user login and getting failed some time for same user.Ompratap Singh

1 Answers

0
votes

Seems like you are facing the issue mentioned in [1]. This issue is fixed in master branch and also the fix is available as wum update for IS-5.4.0 and IS-5.5.0. You can either try the latest milestone of WSO2 Identity Server or get a wum updated pack of IS 5.4.0 or IS 5.5.0.

[1] https://github.com/wso2/carbon-identity-framework/issues/1494