This repository implements a multi-user app that uses tool-level auth with Arcade.dev, implementing a custom user verifier.
To get started please Create an Arcade account, and get an API key
This code is intended to run with your own Google App. Please follow the steps outlined in our docs to create one and add a new Google provider to your Arcade Dashboard
Follow the steps from Supabase's docs to create a new project and get your credentials.
Create a .env.local
file in the root directory and configure the following variables:
NEXT_PUBLIC_SUPABASE_URL=<your supabase url>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your supabase anon key>
ARCADE_API_KEY=<your Arcade API key>
# Optional: Set your ngrok domain to allow cross-origin requests during development
NGROK_DOMAIN=<your ngrok domain>
The verifier in this project will work only if you configure the verifier route on the Arcade Dashboard.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.