With reference to this, we are implementing an implementation that redirects to another server at login and performs additional login processing.
I was able to pass user information and redirect with api.redirect.sendUserTo,
When I redirect to Auth0 Application again with https: // YOUR_DOMAIN / continue? State = THE_ORIGINAL_STATE, I get an Unauthorized error with Request failed with status code 401.
YOUR_DOMAIN → Domain automatically generated by Auth0 applications
THE_ORIGINAL_STATE → value of state parameter automatically assigned when redirecting api.redirect.sendUserTo
I tried both the GET and POST methods, but the redirection didn’t work.
Is there anything wrong with it, and I would like to know what to do in order for the redirection to take place and authentication to complete successfully.
Also, shouldn’t I return any response when redirecting to my server by api.redirect.sendUserTo, or should I redirect at https: // YOUR_DOMAIN / continue without worrying about it?