feat: add Google Sign-In with JWT auth and Neon DB persistence
This commit is contained in:
@@ -19,6 +19,8 @@ type Config struct {
|
||||
ModelKey string
|
||||
ImageModelKey string
|
||||
ThirdOneBin string
|
||||
GoogleClientID string
|
||||
JWTSecret string
|
||||
}
|
||||
|
||||
func LoadFromEnv() Config {
|
||||
@@ -30,6 +32,8 @@ func LoadFromEnv() Config {
|
||||
ModelKey: envOrDefault("TUTOR_MODEL_KEY", defaultModelKey),
|
||||
ImageModelKey: envOrDefault("TUTOR_IMAGE_MODEL_KEY", defaultImageModelKey),
|
||||
ThirdOneBin: envOrDefault("THIRDONE_BIN", defaultThirdOneBin),
|
||||
GoogleClientID: envOrDefault("GOOGLE_CLIENT_ID", ""),
|
||||
JWTSecret: envOrDefault("JWT_SECRET", ""),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user