- Add the following env vars to
.env.local
:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=...
CLERK_SECRET_KEY=...
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/login
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/signup
-
Run
npm i
-
Run
npm run dev
and visithttp://localhost:3002
-
Open the console and Sign in using email
In the email inbox, two separate emails with two different verification codes appear.