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

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