Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.05 KB

instructions.md

File metadata and controls

46 lines (33 loc) · 1.05 KB

The package has been configured successfully. The configuration is stored inside the config/ally.ts file.

Validating environment variables

Ally config relies on environment variables for the client id and secret. We recommend you to validate environment variables inside the env.ts file.

Variables for Discord provider

DISCORD_CLIENT_ID: Env.schema.string(),
DISCORD_CLIENT_SECRET: Env.schema.string(),

Variables for Google provider

GOOGLE_CLIENT_ID: Env.schema.string(),
GOOGLE_CLIENT_SECRET: Env.schema.string(),

Variables for Twitter provider

TWITTER_CLIENT_ID: Env.schema.string(),
TWITTER_CLIENT_SECRET: Env.schema.string(),

Variables for Github provider

GITHUB_CLIENT_ID: Env.schema.string(),
GITHUB_CLIENT_SECRET: Env.schema.string(),

Variables for Facebook provider

FACEBOOK_CLIENT_ID: Env.schema.string(),
FACEBOOK_CLIENT_SECRET: Env.schema.string(),

Variables for Spotify provider

SPOTIFY_CLIENT_ID: Env.schema.string(),
SPOTIFY_CLIENT_SECRET: Env.schema.string(),