Additional Fields Are Being Added to the id_token
Last Updated:
Overview
Applies To
- id_token
- app_metadata
- Standard OIDC claims
Solution
For example:
- app_metdata sample:
{
"address": {
"country": "UK",
"street_address": "10 Downing Street",
"post_code": "SW1A 2AA"
},
"gender": "male",
"region": "south"
}
The following fields are standard OIDC claims from the above snippet: address: {country, street_address} and gender. On requesting an id_token these have duly been output when inspecting the JWT via https://jwt.io/. The non standard OIDC claims post_code and region were not output as expected.