Skip to content

Commit 2fb7551

Browse files
added auth client,secret argument for m2m
1 parent 4e8de92 commit 2fb7551

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const m2mAuth = require('tc-core-library-js').auth.m2m
1414
//const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']))
1515
const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'AUTH0_CLIENT_ID','AUTH0_CLIENT_SECRET', 'AUTH0_PROXY_SERVER_URL']))
1616

17+
1718
// ES Client mapping
1819
const esClients = {}
1920

0 commit comments

Comments
 (0)