mirror of
https://lavaforge.org/spotizerr/spotizerr.git
synced 2025-12-24 02:39:14 -05:00
Implemented SSO for google and github
This commit is contained in:
22
.env.example
22
.env.example
@@ -1,3 +1,4 @@
|
||||
|
||||
# Docker Compose environment variables# Delete all comments of this when deploying (everything that is )
|
||||
|
||||
# Redis connection (external or internal)
|
||||
@@ -18,13 +19,22 @@ PGID=1000
|
||||
# Optional: Sets the default file permissions for newly created files within the container.
|
||||
UMASK=0022
|
||||
|
||||
# Auth
|
||||
# Basic Authentication
|
||||
ENABLE_AUTH=true
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
||||
JWT_EXPIRATION_HOURS=24
|
||||
|
||||
# Default Admin User (created automatically if no users exist)
|
||||
DEFAULT_ADMIN_USERNAME=admin
|
||||
DEFAULT_ADMIN_PASSWORD=admin123
|
||||
DEFAULT_ADMIN_PASSWORD=admin123
|
||||
|
||||
# SSO Configuration
|
||||
SSO_ENABLED=true
|
||||
SSO_BASE_REDIRECT_URI=http://127.0.0.1:7171/api/auth/sso/callback
|
||||
FRONTEND_URL=http://127.0.0.1:7171
|
||||
|
||||
# Google SSO (get from Google Cloud Console)
|
||||
GOOGLE_CLIENT_ID=1054877638335-fube9mge425k2gnpprjcf8fvm5a0tefc.apps.googleusercontent.com
|
||||
GOOGLE_CLIENT_SECRET=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
|
||||
|
||||
# GitHub SSO (get from GitHub Developer Settings)
|
||||
GITHUB_CLIENT_ID=
|
||||
GITHUB_CLIENT_SECRET=
|
||||
|
||||
Reference in New Issue
Block a user