Customize ID Token in OpenID in WSO2 Identity Server 5.0.0 with Claims

Based on the user’s requirement he may need to customize the ID token. Once you decode the default ID token, it looks like as follows. What we are going to do is add new key value pairs to the following using claims. { “exp”: -677328449, “azp”: “asdbUY31SEQtDpCi7aCsZSj96P0a”, “sub”: “admin@carbon.super”, “aud”: “asdbUY31SEQtDpCi7aCsZSj96P0a”, “iss”: “https:\/\/localhost:9443\/oauth2endpoints\/token”, “iat”: -680928449 …

Continue reading Customize ID Token in OpenID in WSO2 Identity Server 5.0.0 with Claims