110110111
ZITADEL2y ago
6 replies
11011011

v2 API: user session metadata in Zitadel's action?

QuestionFeature RequestSolved
As the title says, is it possible to create a user session using v2 Beta API where some custom metadata are added, and later when creating id_token I would like to trigger action that somehow reads user session metadata and appends custom claims to id_token?

https://zitadel.com/docs/apis/resources/session_service/session-service-create-session

So, I would like to use session metadata in Zitadel's action when session token is exchanged for code (OIDC flow in custom login UI):
https://zitadel.com/docs/apis/actions/complement-token
Was this page helpful?