mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-15 05:47:34 +00:00
fix: Externallogin on existing session (#990)
* fix: existing session with external login * fix: existing session with external login * fix: return in login
This commit is contained in:
@@ -45,6 +45,7 @@ func (l *Login) handleExternalLoginStep(w http.ResponseWriter, r *http.Request,
|
||||
for _, idp := range authReq.AllowedExternalIDPs {
|
||||
if idp.IDPConfigID == selectedIDPConfigID {
|
||||
l.handleIDP(w, r, authReq, selectedIDPConfigID)
|
||||
return
|
||||
}
|
||||
}
|
||||
l.renderLogin(w, r, authReq, errors.ThrowInvalidArgument(nil, "VIEW-Fsj7f", "Errors.User.ExternalIDP.NotAllowed"))
|
||||
|
Reference in New Issue
Block a user