Unexpected redirect to '/'

We’re using Auth0 in a Vue application. It’s set up as a SPA Application. in Auth0. When initializing the the auth0 plugin, it seems to trigger a redirect to ‘/’ . This happens immediately after calling createAuth0(). This leads to a infinite redirect loop. Only authorized users are allowed to access /, so we redirect them to our ‘/auth’ page. Then, Auth0 immediately redirects back to /, and so on.
Is there any way to keep Auth0 from doing this?
I have already tried to set skipRedirectCallback to true when calling createAuth0, but that didn’t help.

Hi @michivo, and welcome to the Auth0 Community!

It sounds like your redirect_uri is not properly set to a page that is not protected with authorization, and the createAuth0 function defaults to redirecting to app root (“/”).

Could you please check out this doc, and confirm that you have configured the redirect_uri as shown in the guide, please?

Sincerely,
Teodor.

Thanks for the reply. I’m pretty sure that I’ve set up the redirect_uri correctly. After signing in, the user is redirected to that URI, so I think that’s a good sign.
The problem I have is that even without signing in, the user is redirected to /. All I do is call createAuth0(). At this point in time, I do not want any redirect to happen.