feat(auth): Add Oauth configuration for Telegram, Facebook, Google, Github, and Apple

This commit is contained in:
web@ppanel
2025-01-19 20:43:35 +07:00
parent cefcb310d6
commit 18ee600836
133 changed files with 2391 additions and 24 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"clientId": "Service ID",
"clientIdDescription": "Apple Service ID, you can get it from Apple Developer Portal",
"clientSecret": "Private Key",
"clientSecretDescription": "The private key content (.p8 file) used for authentication with Apple",
"enable": "Enable",
"enableDescription": "After enabling, users can sign in with their Apple ID",
"keyId": "Key ID",
"keyIdDescription": "The ID of your private key from Apple Developer Portal",
"redirectUri": "Return URL",
"redirectUriDescription": "The URL that Apple will redirect to after successful authentication",
"saveFailed": "Save failed",
"saveSuccess": "Save successful",
"teamId": "Team ID",
"teamIdDescription": "Apple Developer Team ID"
}
+12
View File
@@ -0,0 +1,12 @@
{
"clientId": "Client ID",
"clientIdDescription": "Facebook App ID from Facebook Developers Console",
"clientSecret": "Client Secret",
"clientSecretDescription": "Facebook App Secret from Facebook Developers Console",
"enable": "Enable",
"enableDescription": "After enabling, users can sign in with their Facebook account",
"redirectUri": "Authorized redirect URI",
"redirectUriDescription": "The URL to which the user will be redirected after Facebook authentication",
"saveFailed": "Save failed",
"saveSuccess": "Save successful"
}
+12
View File
@@ -0,0 +1,12 @@
{
"clientId": "GitHub Client ID",
"clientIdDescription": "The client ID from your GitHub OAuth application settings",
"clientSecret": "GitHub Client Secret",
"clientSecretDescription": "The client secret from your GitHub OAuth application settings",
"enable": "Enable GitHub Authentication",
"enableDescription": "Allow users to sign in with their GitHub accounts",
"redirectUri": "Authorization callback URL",
"redirectUriDescription": "The URL in your application where users will be redirected after GitHub authentication",
"saveFailed": "Failed to save GitHub settings",
"saveSuccess": "GitHub settings saved successfully"
}
+12
View File
@@ -0,0 +1,12 @@
{
"clientId": "Client ID",
"clientIdDescription": "Google OAuth 2.0 Client ID from Google Cloud Console",
"clientSecret": "Client Secret",
"clientSecretDescription": "Google OAuth 2.0 Client Secret from Google Cloud Console",
"enable": "Enable",
"enableDescription": "After enabling, users can sign in with their Google account",
"redirectUri": "Authorized redirect URI",
"redirectUriDescription": "The URL to which the user will be redirected after Google authentication",
"saveFailed": "Save failed",
"saveSuccess": "Save successful"
}
+12
View File
@@ -0,0 +1,12 @@
{
"clientId": "Bot ID",
"clientIdDescription": "Telegram Bot ID, you can get it from @BotFather",
"clientSecret": "Bot Token",
"clientSecretDescription": "Telegram Bot Token, you can get it from @BotFather",
"enable": "Enable",
"enableDescription": "After enabling, mobile phone registration, login, binding, and unbinding functions will be enabled",
"redirectUri": "Redirect URL",
"redirectUriDescription": "The URL that Telegram will redirect to after successful authentication",
"saveFailed": "Save failed",
"saveSuccess": "Save successful"
}