Cannot redirect custom error page with # in URL

We are building a web application in Vuejs integrate with Auth0 to perform SSO.
When config custom error page to https://our-domain.com/app#/manage/error, Auth0 always redirect to https://our-domain.com/app?client_id=xxxxxxxx&connectioxxxxxxxxxx&tracking=xxxxxx instead.
It means, the URL from # was cut off.
Trying to remove # in URL is an option, but just want to know do we have anything to do with Auth0?

Hi @monster.nva , welcome to the community!

There is a workaround for working with SPAs and their ../#/.. routing mentioned here:

To paraphrase the above, you would need to set up a server side URL with a route parameter that can redirect the user to the relevant part of your SPA app upon receiving the request from Auth0, due to how SPA frameworks’ routing differs from the RFC 3986 spec.

2 Likes

Hi @sgo
Thanks for your information.
That’s exactly what we are handling now.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.