✨ feat(auth): Add Oauth configuration for Telegram, Facebook, Google, Github, and Apple
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user