Hey there! :hand: Doing the react-apollo-auth0 tut...
# prisma-whats-new
a
Hey there! Doing the react-apollo-auth0 tuto but I don't understand why I must re-enter my emailAddress after signup. Login modale (auth0) > Signup with mail (auth0) > /signup, retype emailAdress for my graphcool User DB http://apollo-email.netlify.com/
n
@arthurtayrac cheers! You're talking about Auth0 but are linking the email tutorial. Which one are you referring to? 🙂
a
n
hehe. Well this is just an example app to show how you would add additional info like a boolean or a string
a
n
thanks for the catch!
a
If I login with an existing account, it redirect me to the signup page instead, and I need to refresh if I want the IdToken be considered
n
For me, it redirects to /signup but then directly to / again
I believe with React Router you could reach a better behaviour by using
onEnter
and check there if you're authenticated.
👍 1
a
Thanks Nilan for your help
🙏 1