diff --git a/packages/cli/src/sso/saml/routes/saml.controller.ee.ts b/packages/cli/src/sso/saml/routes/saml.controller.ee.ts index 9490d3bb6b..ae3dc89f7f 100644 --- a/packages/cli/src/sso/saml/routes/saml.controller.ee.ts +++ b/packages/cli/src/sso/saml/routes/saml.controller.ee.ts @@ -106,7 +106,7 @@ export class SamlController { return res.redirect(SamlUrls.defaultRedirect); } } else { - return res.status(202).send('SAML is not enabled, but authentication successful.'); + return res.status(202).send(loginResult.attributes); } } }