Hello everyone.
I’ve a login created with the library @auth0/auth0-angular following the guide : Auth0 Angular SDK Quickstarts: Login
My login system needs queryParams in the loginWithRedirect method (such as allow_write and connection) and is working perfectly.
In the routing module, when I serve my app, I use the AuthGuard in order to make mandatory for the user to log in. The user logs-in and then it redirects to the /home page. User can now navigate and logs out perfectly.
My problem is when I try to write the URL and the user is not logged in , for example, /localhost/** , it redirects to a different login without my queryParams and it cant be filled by the user.
How can I solve it?
Thank you in advance.