I’m implementing Auth0 in a couple of ASP.NET Core web applications using SSO. I’ve noticed that when I login to both applications using SSO and switch between them, a redirect to my Auth0 tenant for /authorize for the client_id is executed the first time I load a page on the applications. As long as I stay in that application, the redirect does not happen. If I switch to the other application, it executes the redirect to authorize with that application’s client_id. This causes the performance to be slow. Is this expected behavior? Is there a way to speed up the interaction?
Check what is going on in your Auth0 tenant - are there rules being executed? This can make it slow.
This is expected behavior, the app must contact Auth0 to verify the user is logged in.
You can also keep a session cookie for your app, to avoid the call to Auth0 as often.