mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-10 15:17:44 +00:00
fix: fix apple client audience
This commit is contained in:
@ -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,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user