Redirect User to Signup page instead of Login page?

I implemented the Vue.js quickstart for auth0-spa-js .

Now I want to create a Register button that redirects the user to the Sign Up page instead of the Login page.

Is it not possible? I dont see a method for doing so.

If this is not available, what is the reason?

1 Like

Hey there!

I’m not sure if it’s doable with auth0-spa-js but the best way to get an explanation for that would be to raise the issue in the GitHub repo and then share the link with us here so we can ping repo maintainers. Thanks!

1 Like

Here is the issue Redirect User to Signup page instead of Login page? · Issue #397 · auth0/auth0-spa-js · GitHub

I just figured this out. I used:

this.$auth.loginWithRedirect({ screen_hint: ‘signup’ });

2 Likes

Glad you have figured it out and thanks for sharing with the rest of community!

1 Like

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