zitadel/internal/idp/providers
Tim Möhlmann 9b3f3e4cd9
fix(idp): do not call userinfo when mapping from ID token is configured (#7696)
* fix(idp): do not call userinfo when mapping from ID token is configured

This change prevents the call of the Userinfo endpoint of a OIDC IDP if the IDP is configured to use the ID token for user information instead.
A unit test has been added to confirm the corrected behavior.

Closes #7373

* video for e2e

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-04-04 05:41:44 +00:00
..
apple merge main into next 2023-10-19 12:34:00 +02:00
azuread fix(idp): provide id_token for tenant id based azure ad (#7188) 2024-01-10 15:02:17 +00:00
github merge main into next 2023-10-19 12:34:00 +02:00
gitlab merge main into next 2023-10-19 12:34:00 +02:00
google merge main into next 2023-10-19 12:34:00 +02:00
jwt chore(Makefile): add go generate target (#6944) 2023-11-22 10:56:43 +00:00
ldap fix: improve login_hint usage on IDPs (#6899) 2023-11-13 09:25:26 +01:00
oauth fix: improve login_hint usage on IDPs (#6899) 2023-11-13 09:25:26 +01:00
oidc fix(idp): do not call userinfo when mapping from ID token is configured (#7696) 2024-04-04 05:41:44 +00:00
saml fix: use configured binding on SAML IDPs and make sure CSP doesn't block POST binding (#7341) 2024-02-05 14:45:15 +00:00