Pass a parameter to callback url using auth0.WebAuth.login?

Hi,

I know for sure we can pass a variable to auth0.WebAuth.authorize (via the state parameter), so we can get this variable back on our callback url. (usefull for example to know from which url we are coming from at the beginning).

But my question is can we do the same with the login method on auth0.WebAuth ?

I tried to use the state parameter, but if I put any value in this param, the redirect is not working anymore …

1 Like

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?