Skip to content

Commit

Permalink
chore: updates to improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tnramalho committed Sep 30, 2024
1 parent ba47632 commit 9341e51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ export const authAppleDefaultConfig = registerAs(
* The login dto
*/
loginDto: AuthAppleLoginDto,
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 ?? 'p8-location',
clientID: process.env.APPLE_CLIENT_ID ?? '',
callbackURL: process.env.APPLE_CALLBACK_URL ?? '',
teamID: process.env.APPLE_TEAM_ID ?? '',
keyID: process.env.APPLE_KEY_ID ?? '',
privateKeyLocation: process.env.APPLE_PRIVATE_KEY_LOCATION ?? '',
privateKeyString:

Check failure on line 23 in packages/nestjs-auth-apple/src/config/auth-apple-default.config.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Delete `⏎·····`
process.env.APPLE_PRIVATE_KEY_STRING ?? 'private key string',
process.env.APPLE_PRIVATE_KEY_STRING ?? '',
passReqToCallback: false,
scope:
'APPLE_SCOPE' in process.env && process.env.APPLE_SCOPE
Expand Down
1 change: 1 addition & 0 deletions packages/nestjs-auth-apple/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export { AuthAppleStrategy } from './auth-apple.strategy';
// interfaces
export { AuthAppleProfileInterface } from './interfaces/auth-apple-profile.interface';
export { AuthAppleCredentialsInterface } from './interfaces/auth-apple-credentials.interface';
export { AuthAppleServiceInterface } from './interfaces/auth-apple-service.interface';

export {
AuthAppleGuard,
Expand Down

0 comments on commit 9341e51

Please sign in to comment.