Webhook Scheduler
Log inStart free
DocsGoogle login

Authentication

Connect Google sign-in.

The app already uses NextAuth with the Google provider. You only need the OAuth credentials and the Vercel environment variables.

1

Create or open a Google Cloud project

Go to Google Cloud Console, create a project for Webhook Scheduler, then open APIs & Services.

2

Configure the OAuth consent screen

Set the app name, support email, authorized domain webhookscheduler.com, and the developer contact email.

3

Create OAuth client credentials

Create credentials of type OAuth client ID, application type Web application.

4

Add authorized origins

Add https://webhookscheduler.com. For local testing, also add http://localhost:3001.

5

Add redirect URIs

Add https://webhookscheduler.com/api/auth/callback/google. For local testing, also add http://localhost:3001/api/auth/callback/google.

6

Set Vercel environment variables

Copy the Client ID and Client Secret into GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET for Production and Preview.

7

Redeploy

Redeploy the project on Vercel so NextAuth can load the new provider settings.

Production values

Origin: https://webhookscheduler.com

Callback: https://webhookscheduler.com/api/auth/callback/google

NEXTAUTH_URL=https://webhookscheduler.com

Local values

Origin: http://localhost:3001

Callback: http://localhost:3001/api/auth/callback/google

NEXTAUTH_URL=http://localhost:3001

Vercel variables to set

GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
NEXTAUTH_URL=https://webhookscheduler.com
PUBLIC_BASE_URL=https://webhookscheduler.com
APP_URL=https://webhookscheduler.com
FRONTEND_URL=https://webhookscheduler.com
NEXT_PUBLIC_APP_URL=https://webhookscheduler.com