mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Wrong value for VALIDATED_ID_TOKEN stored in the brokered identity context for external token exchange
Closes #23985 Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
This commit is contained in:
committed by
Pedro Igor
parent
2ec1d2f7ea
commit
efde3adf60
@@ -873,7 +873,7 @@ public class OIDCIdentityProvider extends AbstractOAuth2IdentityProvider<OIDCIde
|
||||
|
||||
}
|
||||
if (idTokenType) {
|
||||
context.getContextData().put(VALIDATED_ID_TOKEN, subjectToken);
|
||||
context.getContextData().put(VALIDATED_ID_TOKEN, parsedToken);
|
||||
} else {
|
||||
context.getContextData().put(KeycloakOIDCIdentityProvider.VALIDATED_ACCESS_TOKEN, parsedToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user