Skip to content

Commit

Permalink
Test commit with SSH signing and allowed signers file
Browse files Browse the repository at this point in the history
  • Loading branch information
iustinum committed Dec 12, 2024
1 parent 32b6b14 commit c2e2e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/api/src/api/v2/auth/saml.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (s ManagementResource) SAMLLoginHandler(response http.ResponseWriter, reque
// HandleStartAuthFlow is called to start the SAML authentication process.
func (s ManagementResource) SAMLCallbackHandler(response http.ResponseWriter, request *http.Request, ssoProvider model.SSOProvider) {
if ssoProvider.SAMLProvider == nil {
// SAML misconfiguration scenario
// SAML misconfiguration
redirectToLoginPage(response, request, "Your SSO Connection failed, please contact your Administrator")
} else if serviceProvider, err := auth.NewServiceProvider(*ctx.Get(request.Context()).Host, s.config, *ssoProvider.SAMLProvider); err != nil {
log.Errorf("[SAML] Service provider creation failed: %v", err)
Expand Down

0 comments on commit c2e2e96

Please sign in to comment.