diff --git a/packages/nestjs-auth-apple/src/config/auth-apple-default.config.ts b/packages/nestjs-auth-apple/src/config/auth-apple-default.config.ts index 535d185d..1c0af6b2 100644 --- a/packages/nestjs-auth-apple/src/config/auth-apple-default.config.ts +++ b/packages/nestjs-auth-apple/src/config/auth-apple-default.config.ts @@ -15,12 +15,13 @@ export const authAppleDefaultConfig = registerAs( * The login dto */ loginDto: AuthAppleLoginDto, - clientID: process.env.APPLE_CLIENT_ID ?? '', - callbackURL: process.env.APPLE_CALLBACK_URL ?? '', - teamID: process.env.APPLE_TEAM_ID ?? '', - keyID: process.env.APPLE_KEY_ID ?? '', + clientID: process.env.APPLE_CLIENT_ID ?? 'client_id', + callbackURL: process.env.APPLE_CALLBACK_URL ?? 'callback_url', + teamID: process.env.APPLE_TEAM_ID ?? 'teamID', + keyID: process.env.APPLE_KEY_ID ?? 'keyID', privateKeyLocation: process.env.APPLE_PRIVATE_KEY_LOCATION ?? '', - privateKeyString: process.env.APPLE_PRIVATE_KEY_STRING ?? '', + privateKeyString: + process.env.APPLE_PRIVATE_KEY_STRING ?? '', passReqToCallback: false, scope: 'APPLE_SCOPE' in process.env && process.env.APPLE_SCOPE