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
I have the issue that ID Token from Microsoft Entra ID issued via an Refresh Token may have a nonce claim. According to OIDC Spec, such token should not contain an nonce claim (The clarification on SPEC introduced 14 months ago; https://bitbucket.org/openid/connect/pull-requests/341)
The IDToken verifier includes an non optional claim which fails in my scenria, if I to a RefreshToken against Microsoft Entra ID I got this error:
expected "" but was "H1HIv-[redacted]-PneVxio4"
Describe your ideal solution
Since ID Tokens request by an RefreshToken should not contains a nonce anyways (technically, it's not possible to define one from client site and its defined in SPEC), I prefer to disable the nonce validation in such cases.
Version
3.8.1
Environment
Self-hosted
Additional Context
I'm aware that Microsoft should fix the logic in Entra ID, but I feel this will not happen in next moths...
Metadata
Assignees
Type
Projects
Status
📨 Product Backlog
Activity