Skip to content

Commit

Permalink
Update t1connection.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fsargent authored Jun 4, 2019
1 parent 3eaeac6 commit c9ffa29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/t1connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ 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: {
useBasicAuthorizationHeader: false,
},
};
if (that.t1config.environment === 'dev') {
credentials.auth.tokenHost = 'https://sso.mediamath-dev.auth0.com';
credentials.auth.tokenHost = 'https://mediamath-dev.auth0.com';
}

const tokenConfig = {
Expand Down

0 comments on commit c9ffa29

Please sign in to comment.