diff --git a/src/auth/services/oauth2.service.ts b/src/auth/services/oauth2.service.ts index 0af8b39..a3577bb 100644 --- a/src/auth/services/oauth2.service.ts +++ b/src/auth/services/oauth2.service.ts @@ -49,7 +49,7 @@ export class Oauth2Service { const payload = this.jwtService.verify(appleToken, { publicKey, algorithms: ['RS256'], - audience: this.configService.getOrThrow('APPLE_CLIENT_ID'), + audience: this.configService.getOrThrow('APPLE_CLIENT_ID').split(','), issuer: this.appleIssuer, }); diff --git a/src/i18n/ar/app.json b/src/i18n/ar/app.json index c4a650f..1ce9b9e 100644 --- a/src/i18n/ar/app.json +++ b/src/i18n/ar/app.json @@ -10,7 +10,8 @@ "INVALID_BIOMETRIC": "البيانات البيومترية المقدمة غير صالحة. يرجى المحاولة مرة أخرى أو إعادة إعداد المصادقة البيومترية.", "PASSWORD_MISMATCH": "كلمات المرور التي أدخلتها غير متطابقة. يرجى إدخال كلمات المرور مرة أخرى.", "INVALID_PASSCODE": "رمز المرور الذي أدخلته غير صحيح. يرجى المحاولة مرة أخرى.", - "PASSCODE_ALREADY_SET": "تم تعيين رمز المرور بالفعل." + "PASSCODE_ALREADY_SET": "تم تعيين رمز المرور بالفعل.", + "APPLE_RE-CONSENT_REQUIRED": "إعادة الموافقة على آبل مطلوبة. يرجى إلغاء تطبيقك من إعدادات معرف آبل الخاصة بك والمحاولة مرة أخرى." }, "USER": { diff --git a/src/i18n/en/app.json b/src/i18n/en/app.json index d7bc7b7..64b6c26 100644 --- a/src/i18n/en/app.json +++ b/src/i18n/en/app.json @@ -10,7 +10,8 @@ "INVALID_BIOMETRIC": "The biometric data provided is invalid. Please try again or reconfigure your biometric settings.", "PASSWORD_MISMATCH": "The passwords you entered do not match. Please re-enter the passwords.", "INVALID_PASSCODE": "The passcode you entered is incorrect. Please try again.", - "PASSCODE_ALREADY_SET": "The pass code has already been set." + "PASSCODE_ALREADY_SET": "The pass code has already been set.", + "APPLE_RE-CONSENT_REQUIRED": "Apple re-consent is required. Please revoke the app from your Apple ID settings and try again." }, "USER": {