This is a Next.js project bootstrapped with create-next-app
.
Add the following environment variables to your .env.local
file:
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
OIDC_PROVIDER_ID=your-magic-provider-id
MAGIC_API_KEY=your-magic-secret-key
NEXTAUTH_SECRET=your-next-auth-secret
Replace the values with your credentials from Google and GitHub developer consoles.
First, install the dependencies:
pnpm i
Then run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.