Commit 0bb1804b authored by ale's avatar ale
Browse files

Log SSO validation errors

parent 0cfa506b
......@@ -224,6 +224,7 @@ func (s *authService) authorizeUser(ctx context.Context, tx TX, req RequestBase)
// username (or that the SSO ticket has admin permissions).
tkt, err := s.validateSSO(req.SSO)
if err != nil {
log.Printf("SSO validation error: %s", err)
return nil, nil, newAuthError(err)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment