KindeK
Kinde11mo ago
19 replies
Tito

How to show signup page with expo-starter-kit?

At https://github.com/kinde-starter-kits/expo-starter-kit/blob/main/app/index.tsx , the button below sends to the login page.

<Button
        title="Login"
        onPress={() => {
          authenticate({ prompt: "login" });
        }}
      />


I tried to redirect instead to the signup / create account page by changing the prompt to register and signup but it didn't work.

What should I do to redirect customers to signup instead of login?

Or even better, is there an agnostic page that simply signs in if the account (email) exists and signs up if account (email) doesn't exist?
GitHub
Contribute to kinde-starter-kits/expo-starter-kit development by creating an account on GitHub.
expo-starter-kit/app/index.tsx at main · kinde-starter-kits/expo-st...
Was this page helpful?