mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
fix: use username with external idp linking (#6846)
Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user