fix(core): Return saml attributes after connection test (#5717)

return saml attributes for test
This commit is contained in:
Michael Auerswald 2023-03-17 15:56:51 +01:00 committed by GitHub
parent 341bfb810f
commit be172cb720
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}
}