fix: show registration overview (#3002)

* fix: show registration overview

* fix: render error page to avoid possible loop
This commit is contained in:
Fabi
2022-01-18 08:46:31 +01:00
committed by GitHub
parent 7ea618121e
commit 456d32dd0d
7 changed files with 152 additions and 15 deletions
+1 -1
View File
@@ -294,7 +294,7 @@ func (l *Login) chooseNextStep(w http.ResponseWriter, r *http.Request, authReq *
case *domain.LinkUsersStep:
l.linkUsers(w, r, authReq, err)
case *domain.ExternalNotFoundOptionStep:
l.renderExternalNotFoundOption(w, r, authReq, err)
l.renderExternalNotFoundOption(w, r, authReq, nil, nil, nil, nil, err)
case *domain.ExternalLoginStep:
l.handleExternalLoginStep(w, r, authReq, step.SelectedIDPConfigID)
case *domain.GrantRequiredStep: