Skip to content

Commit

Permalink
Merge pull request #773 from auth0/fix-custom-domains
Browse files Browse the repository at this point in the history
allow to override tenant + issuer and pass to auth0.js
  • Loading branch information
hzalaz authored Jan 3, 2017
2 parents c895812 + 2ca816f commit b6c72fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"zuul-ngrok": "gnandretta/zuul-ngrok#upgrade-ngrok"
},
"dependencies": {
"auth0-js": "7.5.0",
"auth0-js": "7.6.1",
"blueimp-md5": "2.3.1",
"fbjs": "^0.3.1",
"immutable": "^3.7.3",
Expand Down
4 changes: 3 additions & 1 deletion src/core/web_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class Auth0WebAPI {
forceJSONP: false,
callbackURL: opts.redirectUrl,
responseMode: opts.responseMode,
responseType: opts.responseType
responseType: opts.responseType,
__tenant: opts.overrides && opts.overrides.__tenant,
__token_issuer: opts.overrides && opts.overrides.__token_issuer
});

this.authOpts[lockID] = {
Expand Down

0 comments on commit b6c72fd

Please sign in to comment.