From be172cb720c8a44ebd1f0b86dddab321e1e3c9fd Mon Sep 17 00:00:00 2001 From: Michael Auerswald Date: Fri, 17 Mar 2023 15:56:51 +0100 Subject: [PATCH] fix(core): Return saml attributes after connection test (#5717) return saml attributes for test --- packages/cli/src/sso/saml/routes/saml.controller.ee.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }