mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 00:47:23 +00:00
fix(actions): Linking doesn't trigger flow "External Authentication" on "Post Authentication"
This commit is contained in:
parent
9b35b98cae
commit
256f18ed70
@ -476,7 +476,6 @@ func (l *Login) handleExternalUserAuthenticated(
|
||||
// if action is done and no user linked then link or register
|
||||
if zerrors.IsNotFound(externalErr) {
|
||||
l.externalUserNotExisting(w, r, authReq, provider, externalUser, externalUserChange)
|
||||
return
|
||||
}
|
||||
if provider.IsAutoUpdate || externalUserChange {
|
||||
err = l.updateExternalUser(r.Context(), authReq, externalUser)
|
||||
@ -557,6 +556,7 @@ func (l *Login) autoLinkUser(w http.ResponseWriter, r *http.Request, authReq *do
|
||||
l.renderError(w, r, authReq, err)
|
||||
return
|
||||
}
|
||||
authReq.UserID = user.ID
|
||||
l.renderNextStep(w, r, authReq)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user