notfoundiumN
ZITADEL10mo ago
11 replies
notfoundium

User metadata does not appear in the token

Good day. I am currently using the self-hosted Zitadel, and I have a problem with the metadata in the id_token. I'm relying on the information in the documentation(https://zitadel.com/docs/guides/manage/customize/user-metadata). In order for the metadata to appear in the user's id_token, I need to set in the application settings "User info inside ID token", and I did it in my React app (pic. 1). I have set the specific user's metadata using the API via Python requests, and looks like it was successfully Inserted and then retrieved (pic. 2). But on decrypting the token_id after the next login by this user via my React app, the metadata does not appear in its payload, however, information from other settings is present. (pic. 3).
preview.png
preview.png
image.png
Was this page helpful?