cp .env.example .env
pnpm i
pnpm dev
To run as a mini app choose a production app in the dev portal and use NGROK to tunnel. Set the NEXTAUTH_URL
and the redirect url if using sign in with worldcoin to that ngrok url
Open http://localhost:3000 with your browser to see the result.
To use the application, you'll need to:
-
Get World ID Credentials From the World ID Developer Portal:
- Create a new app to get your
APP_ID
- Get
DEV_PORTAL_API_KEY
from the API Keys section - Navigate to "Sign in with World ID" page to get:
WLD_CLIENT_ID
WLD_CLIENT_SECRET
- Create a new app to get your
-
Configure Action
- In the Developer Portal, create an action in the "Incognito Actions" section
- Use the same action name in
components/Verify/index.tsx
View docs: Docs