Opaque vs JWT tokens
Hi, I'm new to Zitadel. Is it possible to configure Zitadel to issue JWT access token instead of opaque tokens? Whatever I do, I'm only getting opaque tokens in a B2B setup. Thanks for any help!
2 Replies
Hi @MerijnVana, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
I wasn't able to find a direct answer, here are some relevant sources:
1. Use JWT as access token instead of opaque token (1) : This discusses configuring the token type in Projects > (your project) > (your app) under Token Settings to change the Auth Token Type to JWT.
2. Impersonation and delegation using Token Exchange (2) : Token Exchange supports requesting JWT Access Tokens with the
urn:ietf:params:oauth:token-type:jwt type as the requested token type.
To learn more, see the sources I considered:
[1] Use JWT as access token instead of opaque token
[2] Impersonation and delegation using Token Exchange
Feel free to tag @Ask Inkeep with additional questions.
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.answer: This discusses configuring the token type in Projects > (your project) > (your app) under Token Settings to change the Auth Token Type to JWT.