Hello, I’m trying the Actions options to prevent that users log in on anothe applications. Works very well, but I want to change the text that it’s show on authentincation failed.
The action that I’m using is:
exports.onExecutePostLogin = async (event, api) => {
if (event.client.name === "Some App" && event.user.email=="some@mail.com") {
api.access.deny("Usuario no autorizado para usar Some App);
}
}
The deny
text it’s showing in the Logs but in the browser I get this (please see the attached image):
There was an error trying to log you in: ''
It’s is possible to change that?