Want to redirect to login page after signup

if (session && session.user) {
      let returnTo = `${process.env.AUTH0_ISSUER_BASE_URL}/u/login`;
      if (req.query.state) {
        returnTo += `?state=${req.query.state}`;

what will be the login uri if user wants to redirect to user

Hi @mrutunjay,

By default, users are automatically logged in after signing up.

Are you not observing this behavior with your app?


1 Like