diff --git a/config/webpack/default.js b/config/webpack/default.js
index 8adfacf8..4872dd72 100644
--- a/config/webpack/default.js
+++ b/config/webpack/default.js
@@ -1,4 +1,6 @@
 // eslint-disable-next-line import/no-extraneous-dependencies
+const webpack = require('webpack');
+
 module.exports = {
   node: {
     tls: 'empty',
@@ -23,5 +25,10 @@ module.exports = {
     'tc-accounts',
     'to-capital-case',
     'topcoder-react-utils',
+    'tc-core-library-js',
+  ],
+  plugins: [
+    // eslint-disable-next-line global-require
+    new webpack.DefinePlugin({ CONFIG: JSON.stringify(require('config')) }),
   ],
 };
diff --git a/src/services/api.js b/src/services/api.js
index bb70a2f2..4530a4a3 100644
--- a/src/services/api.js
+++ b/src/services/api.js
@@ -15,7 +15,7 @@ import {
 
 const { m2m: m2mAuth } = auth;
 
-const m2m = m2mAuth(_.pick(config.SECRET.TC_M2M, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']));
+const m2m = m2mAuth(_.pick(config.AUTH_CONFIG, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']));
 
 /* The minimal delay [ms] between API calls. To avoid problems with the requests
  * rate limits configured in Topcoder APIs, we throttle requests rate at the