In the <https://www.graph.cool/docs/tutorials/reac...
# prisma-whats-new
c
In the https://www.graph.cool/docs/tutorials/react-apollo-auth0-pheiph4ooj/ tutorial, it says this:
>> Note: We redirect to
/login
to give the user the possibility to add additional required information. If your
User
type has no additional required fields, you can simply call the user query to check if there is already a user with the
auth0IdToken
generated by Auth0 as detailed above. If there is no such user, you can immediately run the
createUser
mutation instead of redirecting to
/login
. If there already is such a user, you can redirect the user to
/
instead.