8000 Other clients but Account-Management can link account by ch-lepp · Pull Request #35728 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ private AuthenticationSessionModel parseSessionCode(String code, String clientId

private Response checkAccountManagementFailedLinking(AuthenticationSessionModel authSession, String error, Object... parameters) {
UserSessionModel userSession = new AuthenticationSessionManager(session).getUserSession(authSession);
if (userSession != null && authSession.getClient() != null && authSession.getClient().getClientId().equals(Constants.ACCOUNT_MANAGEMENT_CLIENT_ID)) {
if (userSession != null && authSession.getClient() != null) {

this.event.event(EventType.FEDERATED_IDENTITY_LINK);
UserModel user = userSession.getUser();
Expand Down
0