feat: My Settings — password change (local only), timezone, MFA, auth_provider field

- MySettingsPage: timezone, password change (local users), MFA setup/disable
- Password change hidden for federated users (auth_provider != local)
- Federated users see info message: "managed by Oracle IAM"
- Backend: auth_provider + oidc_subject columns in users table (migration)
- /users/me returns auth_provider field
- User interface updated with auth_provider
- i18n: 12 new keys (pt/en) for password change
This commit is contained in:
nogueiraguh
2026-04-01 15:20:16 -03:00
parent c3035abf81
commit 62f2a3d1ab
5 changed files with 207 additions and 70 deletions

View File

@@ -756,6 +756,17 @@ const pt: Record<string, string> = {
'settings.timezone': 'Timezone',
'settings.tzDesc': 'Define o fuso horário para exibição de datas e horários.',
'settings.tzChanged': 'Timezone alterado com sucesso',
'settings.changePassword': 'Alterar Senha',
'settings.currentPw': 'Senha Atual',
'settings.newPw': 'Nova Senha',
'settings.confirmPw': 'Confirmar Nova Senha',
'settings.savePw': 'Alterar Senha',
'settings.saving': 'Salvando...',
'settings.pwChanged': 'Senha alterada com sucesso',
'settings.pwRequired': 'Preencha todos os campos',
'settings.pwMismatch': 'As senhas não conferem',
'settings.pwMinLength': 'A nova senha deve ter pelo menos 8 caracteres',
'settings.federatedInfo': 'Senha e MFA são gerenciados pelo Oracle IAM Identity Domain. Configure diretamente no portal OCI.',
'settings.mfa': 'Autenticação Multi-Fator (MFA)',
// ── Oracle IAM ──
'iam.title': 'Oracle IAM Identity Domains',