From c9ffa29378b768d3c154058b6e966e597326c295 Mon Sep 17 00:00:00 2001 From: Felix Sargent Date: Tue, 4 Jun 2019 11:24:58 -0700 Subject: [PATCH] Update t1connection.js --- lib/t1connection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/t1connection.js b/lib/t1connection.js index 46d817b..866ff6f 100644 --- a/lib/t1connection.js +++ b/lib/t1connection.js @@ -53,7 +53,7 @@ T1Connection.prototype.getOAuthToken = function getOAuthToken() { secret: this.t1config.client_secret, }, auth: { - tokenHost: 'https://sso.mediamath.auth0.com', + tokenHost: 'https://auth.mediamath.com', tokenPath: '/oauth/token', }, options: { @@ -61,7 +61,7 @@ T1Connection.prototype.getOAuthToken = function getOAuthToken() { }, }; if (that.t1config.environment === 'dev') { - credentials.auth.tokenHost = 'https://sso.mediamath-dev.auth0.com'; + credentials.auth.tokenHost = 'https://mediamath-dev.auth0.com'; } const tokenConfig = {