Skip to content

Commit

Permalink
Merge pull request #1385 from gravitational/alexey/saml/error
Browse files Browse the repository at this point in the history
fix SAML error text
  • Loading branch information
Alexey Kontsevoy authored Oct 11, 2017
2 parents 54e708c + 84f17fd commit c876408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/saml.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (m *Handler) samlACS(w http.ResponseWriter, r *http.Request, p httprouter.P
// redirect to an error page
pathToError := url.URL{
Path: "/web/msg/error/login_failed",
RawQuery: url.Values{"details": []string{"Unable to process callback from OIDC provider."}}.Encode(),
RawQuery: url.Values{"details": []string{"Unable to process callback from SAML provider."}}.Encode(),
}
http.Redirect(w, r, pathToError.String(), http.StatusFound)
return nil, nil
Expand Down

0 comments on commit c876408

Please sign in to comment.