mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
# Rename file to .env.local (or .env) and populate values
|
|
# to be able to run the dev app
|
|
|
|
NEXTAUTH_URL=http://localhost:3000
|
|
|
|
# You can use `openssl rand -hex 32` or
|
|
# https://generate-secret.vercel.app/32 to generate a secret.
|
|
# Note: Changing a secret may invalidate existing sessions
|
|
# and/or verification tokens.
|
|
NEXTAUTH_SECRET=secret
|
|
|
|
AUTH0_ID=
|
|
AUTH0_SECRET=
|
|
AUTH0_ISSUER=
|
|
|
|
KEYCLOAK_ID=
|
|
KEYCLOAK_SECRET=
|
|
KEYCLOAK_ISSUER=
|
|
|
|
IDS4_ID=
|
|
IDS4_SECRET=
|
|
IDS4_ISSUER=
|
|
|
|
GITHUB_ID=
|
|
GITHUB_SECRET=
|
|
|
|
TWITCH_ID=
|
|
TWITCH_SECRET=
|
|
|
|
TWITTER_ID=
|
|
TWITTER_SECRET=
|
|
|
|
LINE_ID=
|
|
LINE_SECRET=
|
|
|
|
TRAKT_ID=
|
|
TRAKT_SECRET=
|
|
|
|
# Example configuration for a Gmail account (will need SMTP enabled)
|
|
EMAIL_SERVER=smtps://user@gmail.com:password@smtp.gmail.com:465
|
|
EMAIL_FROM=user@gmail.com
|
|
|
|
# Note: If using with Prisma adapter, you need to use a `.env`
|
|
# file rather than a `.env.local` file to configure env vars.
|
|
# Postgres: DATABASE_URL=postgres://nextauth:password@127.0.0.1:5432/nextauth?synchronize=true
|
|
# MySQL: DATABASE_URL=mysql://nextauth:password@127.0.0.1:3306/nextauth?synchronize=true
|
|
# MongoDB: DATABASE_URL=mongodb://nextauth:password@127.0.0.1:27017/nextauth?synchronize=true
|
|
DATABASE_URL=
|
|
|
|
WIKIMEDIA_ID=
|
|
WIKIMEDIA_SECRET=
|
|
|
|
# Supabase Example Configuration
|
|
# Supabase Example Configuration
|
|
# NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
|
|
# SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSJ9.vI9obAHOGyVVKa3pD--kJlyxp-Z2zV9UUMAhKpNLAcU
|
|
# SUPABASE_JWT_SECRET=super-secret-jwt-token-with-at-least-32-characters-long
|
|
# NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs |