ZITADELZZITADEL
Powered by
SteveS
ZITADEL•8mo ago•
1 reply
Steve

How hard is passing an organization ID in the JWT?

How feasible is it to embed an organization ID directly into the JWT that Zitadel issues? Are there built-in mechanisms or recommended hooks to inject a custom
org_id
org_id
claim at token-issuance time? What pitfalls should I watch out for (e.g. token bloat, signature issues, claim collisions)?

Use-case: Zitadel for API Authentication and authorization (user login and machine API Tokens)
Environment: Self-hosting
Version: Will use the latest stable
Stack: Using Zitadel with our API
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Scoping to specific organization in JWT token
jorJjor / questions-help-bugs
4mo ago
include organization metadata in id token
irieimperatorIirieimperator / questions-help-bugs
2y ago