I have an MVC application setup as a regular web application in my tenant.
This is using standard database email/password for authentication within Auth0.
I am using the UseOpenIdConnectAuthentication and have the RedirectUri for this set to the page I want to direct users to after login/authentication.
If a user requests a page that requires authentication, they are sent to the Auth0 login page but after authentication they continue to the page they originally requested without hitting my callback/redirect url.
For example say a user tries to visit https://DomainName/MySecretPage instead of https://DomainName, after login they are taken straight to this page instead of my callback/redirect url (e.g. https://DomainName/WelcomePage). If they visit https://DomainName after login/authentication they are successfully sent to the callback/redirect url (e.g. https://DomainName/WelcomePage).
Is it possible to prevent this as I want all users to hit the callback/redirect url on login/authentication? Or alternatively force all users (via a rule maybe) to visit the callback/redirect url?