FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. mihailacusteanu
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    mihailacusteanu

    @mihailacusteanu

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mihailacusteanu Unfollow Follow

    Latest posts made by mihailacusteanu

    • RE: Error message from webhook on login page

      @joshua Thanks for answering
      So this is not yet possible and all I can do is thumbs up the issue and wait.

      posted in Q&A
      M
      mihailacusteanu
    • 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?

      posted in Q&A
      M
      mihailacusteanu
    • 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 non 2xx message. But when I return a 500 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 this

      Failed 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

      posted in Q&A
      M
      mihailacusteanu