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
NEXT_PUBLIC_OIDC_PROVIDER_ID=your-magic-provider-id
NEXTAUTH_SECRET=your-next-auth-secret
NEXT_PUBLIC_MAGIC_EMBEDDED_WALLET_KEY=your-embedded-wallet-publishable-api-key
NEXT_PUBLIC_MAGIC_SERVER_WALLET_KEY=your-server-wallet-publishable-api-key
SERVER_WALLET_SECRET_KEY=your-magic-server-wallet-secret-keyReplace the values with your credentials from your Google and Magic developer dashboards.
First, install the dependencies:
pnpm iThen run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.