SSO auth (1)
This commit is contained in:
10
.env.example
10
.env.example
@@ -15,3 +15,13 @@ JWT_SECRET=replace-with-strong-random-secret
|
||||
JWT_ISSUER=friendolls
|
||||
JWT_AUDIENCE=friendolls-api
|
||||
JWT_EXPIRES_IN_SECONDS=3600
|
||||
|
||||
# Google OAuth
|
||||
GOOGLE_CLIENT_ID="replace-with-google-client-id"
|
||||
GOOGLE_CLIENT_SECRET="replace-with-google-client-secret"
|
||||
GOOGLE_CALLBACK_URL="http://localhost:3000/auth/sso/google/callback"
|
||||
|
||||
# Discord OAuth
|
||||
DISCORD_CLIENT_ID="replace-with-discord-client-id"
|
||||
DISCORD_CLIENT_SECRET="replace-with-discord-client-secret"
|
||||
DISCORD_CALLBACK_URL="http://localhost:3000/auth/sso/discord/callback"
|
||||
|
||||
Reference in New Issue
Block a user