Divide login and signup

I’m using Auth0 as my authentication manager, whenever a user will click on login link it will redirect to Auth0 page which has Login and Signup, but I want if a user is a new user be redirected to signup page and if he is not new user, then redirect to login page, what should I do?

Or a separated link for login and singup is good for me

Hey there!

May I ask you what platform, stack you wanna use? Programming language etc so that I can customise the set of tools you need to use, thank you!

@konrad.sopla sure, I’m using flask, and I followed this documentation for that. https://auth0.com/docs/quickstart/webapp/python

@konrad.sopla sure, I’m using flask, and I followed this documentation for that. https://auth0.com/docs/quickstart/webapp/python

it’s pure flask

Hey therey Sojodyan!

It seems like it’s not doable as there is a need to check whether someone is a new or existing user even before he reaches the app (whatever screen). Is that correct or I misunderstand some of your context? You can for sure set the default tab for users when they open the app whether it will be the login or signup app but with the context you provided it’s not possible to do the beforehand check to display the screen accordingly.

Hello, thanks for you reply. I think you misunderstand our context a little. We just need to be able to link to the tab of our choosing. For example, we want to send some users to the login tab and others to the signup tab.

Hello, I’m still looking for a help please.

Hey there! Sorry for slight delay. I needed to discuss it further with engineering. Unfortunately it’s not possible with our current state of docs. It might be possible with some more or less heavy hacks and workaround but that’s something we do not recommend.