Tim Möhlmann 778b4041ca
fix(oidc): do not return access token for response type id_token (#8777)
# Which Problems Are Solved

Do not return an access token for implicit flow from v1 login, if the
`response_type` is `id_token`

# How the Problems Are Solved

Do not create the access token event if if the `response_type` is
`id_token`.

# Additional Changes

Token endpoint calls without auth request, such as machine users, token
exchange and refresh token, do not have a `response_type`. For such
calls the `OIDCResponseTypeUnspecified` enum is added at a `-1` offset,
in order not to break existing client configs.

# Additional Context

- https://discord.com/channels/927474939156643850/1294001717725237298
- Fixes https://github.com/zitadel/zitadel/issues/8776
2024-11-12 15:20:48 +00:00
..
2022-04-26 23:01:45 +00:00
2021-03-09 10:30:11 +01:00
2021-05-03 10:15:50 +02:00
2022-10-26 13:06:48 +00:00
2022-04-26 23:01:45 +00:00
2022-04-26 23:01:45 +00:00
2024-01-02 14:26:31 +00:00
2024-09-11 10:53:55 +00:00
2024-08-12 22:32:01 +02:00
2022-04-26 23:01:45 +00:00
2022-04-26 23:01:45 +00:00
2021-03-01 08:48:50 +01:00
2024-04-11 09:16:10 +02:00