Skip to content

Commit

Permalink
feat(auth): add proxy to jwks retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
over-flo79 authored and Ahmed Refai committed Mar 4, 2022
1 parent e7470c2 commit 143efb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/config/config.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ describe('ConfigService', () => {
// Given AUTH_CONFIG_SECRET environment variable is configured with secretOrKeyProvider
process.env.AUTH_CONFIG_SECRET = AUTH.AUTH_CONFIG_SECRET_JWKS;
delete process.env.HTTP_PROXY;
delete process.env.HTTPS_PROXY;
const spy = jest.spyOn(JwksRsa, 'passportJwtSecret');

// When the auth configuration is retrieved
Expand Down

0 comments on commit 143efb6

Please sign in to comment.