Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4be302a

Browse files
committedJul 30, 2019
Try setting the Auth0 proxy
1 parent 3c3627a commit 4be302a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎config/default.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,6 @@ module.exports = {
8989
AUTH0_AUDIENCE: process.env.AUTH0_AUDIENCE,
9090
TOKEN_CACHE_TIME: process.env.TOKEN_CACHE_TIME || 43200,
9191
AUTH0_CLIENT_ID: process.env.AUTH0_CLIENT_ID,
92-
AUTH0_CLIENT_SECRET: process.env.AUTH0_CLIENT_SECRET
92+
AUTH0_CLIENT_SECRET: process.env.AUTH0_CLIENT_SECRET,
93+
AUTH0_PROXY_SERVER_URL: process.env.AUTH0_PROXY_SERVER_URL
9394
};

‎utils/topcoder-api-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const circularJSON = require('circular-json');
2020

2121
const m2mAuth = require('tc-core-library-js').auth.m2m;
2222

23-
const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME']));
23+
const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']));
2424

2525
let topcoderApiProjects = require('topcoder-api-projects');
2626
let topcoderApiChallenges = require('topcoder-api-challenges');

0 commit comments

Comments
 (0)
This repository has been archived.