fix: fix apple client audience

This commit is contained in:
Abdalhamid Alhamad
2025-06-17 11:39:46 +03:00
parent d2cc02fb60
commit 19fa53c981

View File

@ -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,
});