mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: handle metadata from post authentication on auto creation (#6389)
This commit is contained in:
parent
f5f9b39fdf
commit
90a62b777b
@ -410,7 +410,7 @@ func (l *Login) externalUserNotExisting(w http.ResponseWriter, r *http.Request,
|
||||
l.renderExternalNotFoundOption(w, r, authReq, orgIAMPolicy, human, idpLink, err)
|
||||
return
|
||||
}
|
||||
if changed {
|
||||
if changed || len(externalUser.Metadatas) > 0 {
|
||||
if err := l.authRepo.SetLinkingUser(r.Context(), authReq, externalUser); err != nil {
|
||||
l.renderError(w, r, authReq, err)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user