Access tokens
Build on Kinde
If you want to include additional information in tokens, you can customize access tokens, M2M tokens, and ID tokens using preset custom claims and properties. If you need Kinde token formats to be third-party friendly, you can also enable mapping for those services, e.g. Hasura.
Token customization is a step toward enabling custom claims, but it is not the same thing.
Apart from your own custom properties, you can add some out of the box additional claims to tokens.
You can:
org_name
)roles
)email
)external_organization_id
)You can:
You can add feature flags to an M2M token.
To further customize tokens you can add information using properties.
Properties are custom fields and information that you can attach to your users, organizations, and applications in order to collect the data you want. For example, if you ask your customers to complete a form, you can map the answers to their user record. Another example could be you want to collect a delivery address for an organization, or include unique identifiers for M2M apps.
To make a property available in a token, you need to make the property public, and then customize the token following the procedure above, to add a property.
Currently, we only support formatting for Hasura.