feat(OAuth): enhance OAuth user handling and add localized messages
All checks were successful
Deploy to production / deploy (push) Successful in 2m4s

This commit is contained in:
Torsten Schulz (local)
2026-05-15 14:30:56 +02:00
parent 4d3d02d937
commit 2d048d4cab
7 changed files with 25 additions and 4 deletions

View File

@@ -196,10 +196,11 @@ export default {
return;
}
this.oauthLoading = true;
window.location.href = `/api/auth/oauth/user/${encodeURIComponent(providerSlug)}/start`;
const uid = this.user?.hashedId || '';
window.location.href = `/api/auth/oauth/user/${encodeURIComponent(providerSlug)}/start?userid=${encodeURIComponent(uid)}`;
},
async removeOAuthIdentity(identityId) {
if (!confirm('Möchtest du diese Authentifizierung wirklich entfernen?')) {
if (!confirm(this.$t('settings.security.oauthRemoveConfirm'))) {
return;
}