Open
Description
Preflight Checklist
- I could not find a solution in the documentation, the existing issues or discussions
- I have joined the ZITADEL chat
Version
v2.11.0
Describe the problem caused by this bug
JWT assertion payload does not match format from example in rfc 7523 - section 4 causing errors when connecting to systems that require audience be a string value.
To reproduce
Create a relying party with the WithJWTProfile
option, attempt a token exchange.
Generated assertion body:
{
"iss": "2da2387b-f75f-4c86-a0fe-3109d8aa6943",
"sub": "2da2387b-f75f-4c86-a0fe-3109d8aa6943",
"aud": [
"https://127.0.0.1/"
],
"iat": 1696409593,
"exp": 1696413193
}
Screenshots
No response
Expected behavior
Expected assertion body:
{
"iss": "2da2387b-f75f-4c86-a0fe-3109d8aa6943",
"sub": "2da2387b-f75f-4c86-a0fe-3109d8aa6943",
"aud": "https://127.0.0.1/",
"iat": 1696409593,
"exp": 1696413193
}
Additional Context
No response
Metadata
Assignees
Labels
Type
Projects
Status
📨 Product Backlog
Activity