zitadel/internal/idp/providers/oidc
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
..
oidc_test.go chore(deps): upgrade to oidc v3 (#6737) 2023-10-17 15:19:51 +00:00
oidc.go fix: improve login_hint usage on IDPs (#6899) 2023-11-13 09:25:26 +01:00
session_test.go fix(idp): do not call userinfo when mapping from ID token is configured (#7696) 2024-04-04 05:41:44 +00:00
session.go fix(idp): do not call userinfo when mapping from ID token is configured (#7696) 2024-04-04 05:41:44 +00:00