bawsky
ZZITADEL
•Created by bawsky on 6/4/2025 in #questions-help-bugs
Access the authorize request in the Complement Token flow (Actions V1)
Hello Zitadel crew 👋
We have a need to pass arbitrary parameters in the
/authorize
request and then run some API request inside an action using those parameters, to finally complement the token claims. E.g.:
1- User attempts to login and the frontend passes the arbitrary company_id=42
query parameter in the /authorize
request
2- On an action inside Zitadel, we read that arbitrary parameter and use that to make an internal request to our backend API (to e.g.: check if user really has access to company_id=42
3- If response of that internal request is successful, the Zitadel action complements the access token with a new claim (e.g.: "company_id": 42
)
Looking through the documentation I didn't find a way of doing that using Action V1 - is it possible?
Note: we're on Zitadel 2.67.3 (default version from Helm charts) and using only Actions V1 for now3 replies
ZZITADEL
•Created by bawsky on 4/24/2025 in #questions-help-bugs
Roles missing in access token (JWT)
Hello. I'm trying to request access tokens with projects' roles without success - is this a bug or am I missing something?
Authorization request (line breaks for readability):
Token request body (line breaks for readability):
Retrieved access token
obs.: the role claims are also not present in the id token, but they ARE present in the userinfo response
9 replies