Auth0 in React: parseHash error in safari browser

Please include the following information in your post:

  • Which SDK this is regarding: auth0-js
  • SDK Version: 9.16.4
  • Code Snippets/Error Messages/Supporting Details/Screenshots:
    while calling parseHash in safari is throwing error shown below and same code is working fine in Chrome.
    {error: ‘invalid_token’, error_description: ‘Cancelled’}
      {hash: hash, state: state},
      (err, authResult) => {
      if (authResult && authResult.accessToken && authResult.idToken) {
        this.setSession(authResult, onSuccessCallback);
      } else if (err) {
        console.log('err', err);
**Is this a feature request or bug report?** If so, please create an issue directly in the corresponding GitHub repo. The Community SDK category is for general discussion and support.