🧱 OAuth login infra

This commit is contained in:
2025-06-15 13:11:45 +08:00
parent d00917fb39
commit bf013a108b
14 changed files with 1314 additions and 47 deletions

View File

@@ -83,5 +83,19 @@
},
"GeoIp": {
"DatabasePath": "./Keys/GeoLite2-City.mmdb"
},
"Oidc": {
"Google": {
"ClientId": "YOUR_GOOGLE_CLIENT_ID",
"ClientSecret": "YOUR_GOOGLE_CLIENT_SECRET",
"RedirectUri": "https://your-app.com/auth/callback/google"
},
"Apple": {
"ClientId": "YOUR_APPLE_CLIENT_ID",
"TeamId": "YOUR_APPLE_TEAM_ID",
"KeyId": "YOUR_APPLE_KEY_ID",
"PrivateKeyPath": "./apple_auth_key.p8",
"RedirectUri": "https://your-app.com/auth/callback/apple"
}
}
}
}