Question

Custom error message for OAuth2 error

  • 24 November 2021
  • 1 reply
  • 64 views

Userlevel 1

Hi,

We are building a Zapier integration (CLI), using Oauth2 authentication (with an Auth0 app).

When the User is not authorized to use the Zapier integration Auth0 trhow an error and appends to the callback url the query-params “error” and “error_description”.

Currently the message displayed on the error page is using the “error” value “unauthorized”.
We would like to display instead the more detailed messaged contained in the “error_description” params.

Is it possible to manage that in the Zapier integration ? Maybe in the afterResponse middleware?
It is not possible for us to modify the content of the “error” param which is automatically set by Auth0.

 

Thanks in advance
 

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 1

Hi! 
Would be great if we can have a support on this, it is a big issue in our onboarding..
Best;

Romain