Hi all How can I add my custom payload to jwt toke...
# ory-selfhosting
f
Hi all How can I add my custom payload to jwt token in hydra ? I define my traits in a identity.schema.json file and call it in kratos.yml config I use hydra as the oidc provider and kratos as the login provider For getting the jwt, I make a post request with code and state to https://my_hydra_public_url/oauth2/token And it gives me access_token and id_token as response, but it doesn't contain my traits in it I'll be happy if you share me your comment with me