@auth0/auth0-spa-js 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,7 +39,6 @@ Create a **Single Page Application** in the [Auth0 Dashboard](https://manage.aut
39
39
  > **If you're using an existing application**, verify that you have configured the following settings in your Single Page Application:
40
40
  >
41
41
  > - Click on the "Settings" tab of your application's page.
42
- > - Ensure that "Token Endpoint Authentication Method" under "Application Properties" is set to "None"
43
42
  > - Scroll down and click on the "Show Advanced Settings" link.
44
43
  > - Under "Advanced Settings", click on the "OAuth" tab.
45
44
  > - Ensure that "JsonWebToken Signature Algorithm" is set to `RS256` and that "OIDC Conformant" is enabled.
@@ -472,7 +472,7 @@
472
472
  exports.default = SuperTokensLock;
473
473
  }));
474
474
  var Lock = unwrapExports(browserTabsLock);
475
- var version = "2.1.1";
475
+ var version = "2.1.2";
476
476
  const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
477
477
  const DEFAULT_POPUP_CONFIG_OPTIONS = {
478
478
  timeoutInSeconds: DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS
@@ -1874,7 +1874,7 @@
1874
1874
  daysUntilExpire: this.sessionCheckExpiryDays,
1875
1875
  cookieDomain: this.options.cookieDomain
1876
1876
  });
1877
- this._processOrgHint(organization);
1877
+ this._processOrgHint(organization || decodedToken.claims.org_id);
1878
1878
  return Object.assign(Object.assign({}, authResult), {
1879
1879
  decodedToken: decodedToken
1880
1880
  });