Custom claims allow you to encode additional information into your Stytch M2M access tokens, similar to session custom claims.Documentation Index
Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
How to use
First, pass in extra parameters to the Get Access Token API endpoint. For example, to add a customuser_id claim:
extra param in the corresponding method.
Next, create an M2M custom claims template, either via the Dashboard or the API and include this claim using the variable syntax request.[claim]:
user_id claim in newly minted M2M tokens.