@joshua Thanks for answering
So this is not yet possible and all I can do is thumbs up the issue and wait.
M
Latest posts made by mihailacusteanu
-
RE: Error message from webhook on login page
-
RE: Error message from webhook on login page
So can I display the
"My custom message"
, which was returned from the webhook, above the login form as the reason of the login fail? -
Error message from webhook on login page
Hi,
I have a webhook that could fail of several reasons. So I want to return an error message based on the reason and then display that message on the login page.
From my understanding to fail a webhook you have to return a non2xx
message. But when I return a500 error
code on the login page I receive this error message:
A validation error occurred during the login attempt. An event log was created for the administrator to review.
and when I look in the event log I see thisFailed to complete a login for Identity Provider [simple oidc]. The following errors occurred: { "fieldErrors" : { }, "generalErrors" : [ { "code" : "[WebhookTransactionException]", "message" : "My custom message" } ] }
After I read some github issues and some forum posts here I am still not sure if this is possible.
Thanks,
Mihai