-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Description
Preflight Checklist
- I could not find a solution in the existing issues, docs, nor discussions
- I have joined the ZITADEL chat
Describe your problem
In TokenExchangeReponse struct, there is IDToken field with a comment:
// IDToken field allows returning an additional ID token
// if the requested_token_type was Access Token and scope contained openid.
IDToken string `json:"id_token,omitempty"`
This field is never filled, even with access_control requested token type and open id scope.
Describe your ideal solution
Create IDToken in CreateTokenExchangeResponse if the requested_token_type was Access Token and scope contained openid.
Version
No response
Environment
ZITADEL Cloud
Additional Context
No response
Metadata
Metadata
Assignees
Type
Projects
Status
🧐 Investigating