mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-21 20:38:47 +00:00
fix: use username with external idp linking (#6846)
Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
f84eb19637
commit
d874628f77
@@ -1586,7 +1586,7 @@ func linkExternalIDPs(ctx context.Context, userCommandProvider userCommandProvid
|
|||||||
ObjectRoot: es_models.ObjectRoot{AggregateID: request.UserID},
|
ObjectRoot: es_models.ObjectRoot{AggregateID: request.UserID},
|
||||||
IDPConfigID: linkingUser.IDPConfigID,
|
IDPConfigID: linkingUser.IDPConfigID,
|
||||||
ExternalUserID: linkingUser.ExternalUserID,
|
ExternalUserID: linkingUser.ExternalUserID,
|
||||||
DisplayName: linkingUser.DisplayName,
|
DisplayName: linkingUser.PreferredUsername,
|
||||||
}
|
}
|
||||||
externalIDPs[i] = externalIDP
|
externalIDPs[i] = externalIDP
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user