forked from cardosofelipe/fast-next-template
Add OAuth flows and UI integration
- Implemented OAuth endpoints (providers list, authorization, callback, linked accounts management). - Added UI translations for OAuth workflows (auth process messages, linked accounts management). - Extended TypeScript types and React hooks to support OAuth features. - Updated app configuration with OAuth-specific settings and provider details. - Introduced skeleton implementations for authorization and token endpoints in provider mode. - Included unit test and integration hooks for OAuth capabilities.
This commit is contained in:
@@ -143,6 +143,18 @@
|
||||
"hasNumber": "Contains a number",
|
||||
"hasUppercase": "Contains an uppercase letter"
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"divider": "Or continue with",
|
||||
"loading": "Loading providers...",
|
||||
"continueWith": "Continue with {provider}",
|
||||
"signUpWith": "Sign up with {provider}",
|
||||
"processing": "Completing authentication...",
|
||||
"authFailed": "Authentication Failed",
|
||||
"providerError": "The authentication provider returned an error",
|
||||
"missingParams": "Missing authentication parameters",
|
||||
"unexpectedError": "An unexpected error occurred during authentication",
|
||||
"backToLogin": "Back to Login"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
@@ -218,6 +230,17 @@
|
||||
"themeLight": "Light",
|
||||
"themeDark": "Dark",
|
||||
"themeSystem": "System"
|
||||
},
|
||||
"linkedAccounts": {
|
||||
"pageTitle": "Linked Accounts",
|
||||
"pageSubtitle": "Manage your linked social accounts",
|
||||
"title": "Connected Accounts",
|
||||
"description": "Connect your account with social providers for easier sign-in",
|
||||
"linked": "Connected",
|
||||
"link": "Connect",
|
||||
"unlink": "Disconnect",
|
||||
"linkError": "Failed to connect account",
|
||||
"unlinkError": "Failed to disconnect account"
|
||||
}
|
||||
},
|
||||
"errors": {
|
||||
|
||||
@@ -143,6 +143,18 @@
|
||||
"hasNumber": "Contiene un numero",
|
||||
"hasUppercase": "Contiene una lettera maiuscola"
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"divider": "Oppure continua con",
|
||||
"loading": "Caricamento provider...",
|
||||
"continueWith": "Continua con {provider}",
|
||||
"signUpWith": "Registrati con {provider}",
|
||||
"processing": "Completamento autenticazione...",
|
||||
"authFailed": "Autenticazione Fallita",
|
||||
"providerError": "Il provider di autenticazione ha restituito un errore",
|
||||
"missingParams": "Parametri di autenticazione mancanti",
|
||||
"unexpectedError": "Si è verificato un errore durante l'autenticazione",
|
||||
"backToLogin": "Torna al Login"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
@@ -218,6 +230,17 @@
|
||||
"themeLight": "Chiaro",
|
||||
"themeDark": "Scuro",
|
||||
"themeSystem": "Sistema"
|
||||
},
|
||||
"linkedAccounts": {
|
||||
"pageTitle": "Account Collegati",
|
||||
"pageSubtitle": "Gestisci i tuoi account social collegati",
|
||||
"title": "Account Connessi",
|
||||
"description": "Collega il tuo account con i provider social per un accesso più semplice",
|
||||
"linked": "Connesso",
|
||||
"link": "Connetti",
|
||||
"unlink": "Scollega",
|
||||
"linkError": "Impossibile connettere l'account",
|
||||
"unlinkError": "Impossibile scollegare l'account"
|
||||
}
|
||||
},
|
||||
"errors": {
|
||||
|
||||
Reference in New Issue
Block a user