{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/auth0.js/issues/655","repository_url":"https://api.github.com/repos/auth0/auth0.js","labels_url":"https://api.github.com/repos/auth0/auth0.js/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0.js/issues/655/comments","events_url":"https://api.github.com/repos/auth0/auth0.js/issues/655/events","html_url":"https://github.com/auth0/auth0.js/issues/655","id":295058812,"number":655,"title":"Invalid token - `state` does not match","user":{"login":"jeiman","id":3265758,"avatar_url":"https://avatars1.githubusercontent.com/u/3265758?v=4","gravatar_id":"","url":"https://api.github.com/users/jeiman","html_url":"https://github.com/jeiman","followers_url":"https://api.github.com/users/jeiman/followers","following_url":"https://api.github.com/users/jeiman/following{/other_user}","gists_url":"https://api.github.com/users/jeiman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeiman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeiman/subscriptions","organizations_url":"https://api.github.com/users/jeiman/orgs","repos_url":"https://api.github.com/users/jeiman/repos","events_url":"https://api.github.com/users/jeiman/events{/privacy}","received_events_url":"https://api.github.com/users/jeiman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-07T09:12:35Z","updated_at":"2018-02-15T20:30:03Z","closed_at":null,"author_association":"NONE","body":"So for some reason I can't seem to authenticate users on certain computers/laptops that has the same browser versions.\r\n\r\n`auth.js`\r\n\r\n```\r\nexport var webAuth = new auth0.WebAuth({\r\n    domain: 'xxx.auth0.com',\r\n    clientID: 'xxx',\r\n    responseType: 'token id_token',\r\n    audience: 'https://xxx.auth0.com/userinfo',\r\n    redirectUri: 'http://localhost:3000'\r\n  })\r\n```\r\n\r\n`Login.vue`\r\n\r\n```\r\nif (window.location.hash) {\r\n        webAuth.parseHash({ hash: window.location.hash }, (err, authResult) => {\r\n          if (err) {\r\n            return console.log('parseHash error', err)\r\n          }\r\n          if (authResult) {\r\n            webAuth.client.userInfo(authResult.accessToken, function(err, user) {\r\n              if (err) {\r\n                console.log('err accessToken', err)\r\n              }\r\n              localStorage.setItem('profile', JSON.stringify(user))\r\n              localStorage.setItem('id_token', authResult.idToken)\r\n              window.location = '/state'\r\n            })\r\n          }\r\n        })\r\n      }\r\n```\r\n\r\n**Picture:**\r\n\r\n![error](https://user-images.githubusercontent.com/3265758/35907594-52b3612e-0c29-11e8-92cd-cd8a8f0e9198.jpeg)\r\n\r\n\r\n**Other details:**\r\n\r\nAuth0 version:\r\nNPM - `8.12.2`\r\nScriptJS - `8.12.2`\r\n\r\nBrowser: Chrome Version 64.0.3282.140 (Official Build) (64-bit)\r\nO.S: Windows 10\r\n\r\nThe issue is not happening on my laptop (which is running on the the Browser version mentioned above), but it is happening on other laptops (same browser version).\r\n\r\nNot too sure what else to try here. Been looking at the forums, nothing is working out.\r\n\r\nWould love some insights on this.\r\nThank you."},"comment":{"url":"https://api.github.com/repos/auth0/auth0.js/issues/comments/366051965","html_url":"https://github.com/auth0/auth0.js/issues/655#issuecomment-366051965","issue_url":"https://api.github.com/repos/auth0/auth0.js/issues/655","id":366051965,"user":{"login":"luisrudge","id":941075,"avatar_url":"https://avatars3.githubusercontent.com/u/941075?v=4","gravatar_id":"","url":"https://api.github.com/users/luisrudge","html_url":"https://github.com/luisrudge","followers_url":"https://api.github.com/users/luisrudge/followers","following_url":"https://api.github.com/users/luisrudge/following{/other_user}","gists_url":"https://api.github.com/users/luisrudge/gists{/gist_id}","starred_url":"https://api.github.com/users/luisrudge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisrudge/subscriptions","organizations_url":"https://api.github.com/users/luisrudge/orgs","repos_url":"https://api.github.com/users/luisrudge/repos","events_url":"https://api.github.com/users/luisrudge/events{/privacy}","received_events_url":"https://api.github.com/users/luisrudge/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T20:30:03Z","updated_at":"2018-02-15T20:30:03Z","author_association":"MEMBER","body":"I tested your app a few times and I always get the profile back. Do I have to do something different to see the error?\r\n![gh-state](https://user-images.githubusercontent.com/941075/36279397-293f5248-127e-11e8-97d5-9e03fb45ce9c.gif)\r\n"}}
{"actor":{"display_login":"luisrudge"}}