api-server/src/config/apple.config.ts
WangDL 77c62599b1
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 2m13s
feat: Apple 登录真实验签 - jwks-rsa + jsonwebtoken 验签 Apple identityToken
2026-05-13 15:35:41 +08:00

8 lines
289 B
TypeScript

import { registerAs } from '@nestjs/config';
export default registerAs('apple', () => ({
bundleId: process.env.APPLE_BUNDLE_ID || '',
issuer: process.env.APPLE_ISSUER || 'https://appleid.apple.com',
jwksUrl: process.env.APPLE_JWKS_URL || 'https://appleid.apple.com/auth/keys',
}));