Skip to content

Commit cf817e3

Browse files
committed
2 parents 6370f0f + 2fb7551 commit cf817e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/common/helper.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const errors = require('../common/errors')
1111

1212
const m2mAuth = require('tc-core-library-js').auth.m2m
1313

14-
const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']))
14+
//const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']))
15+
const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'AUTH0_CLIENT_ID','AUTH0_CLIENT_SECRET', 'AUTH0_PROXY_SERVER_URL']))
16+
1517

1618
// ES Client mapping
1719
const esClients = {}

0 commit comments

Comments
 (0)