{"action":"closed","issue":{"url":"https://api.github.com/repos/okta/okta-oidc-js/issues/121","repository_url":"https://api.github.com/repos/okta/okta-oidc-js","labels_url":"https://api.github.com/repos/okta/okta-oidc-js/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/okta/okta-oidc-js/issues/121/comments","events_url":"https://api.github.com/repos/okta/okta-oidc-js/issues/121/events","html_url":"https://github.com/okta/okta-oidc-js/issues/121","id":295654687,"number":121,"title":"AuthSdkError: Unable to parse a token from the url","user":{"login":"mabc224","id":1754418,"avatar_url":"https://avatars0.githubusercontent.com/u/1754418?v=4","gravatar_id":"","url":"https://api.github.com/users/mabc224","html_url":"https://github.com/mabc224","followers_url":"https://api.github.com/users/mabc224/followers","following_url":"https://api.github.com/users/mabc224/following{/other_user}","gists_url":"https://api.github.com/users/mabc224/gists{/gist_id}","starred_url":"https://api.github.com/users/mabc224/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabc224/subscriptions","organizations_url":"https://api.github.com/users/mabc224/orgs","repos_url":"https://api.github.com/users/mabc224/repos","events_url":"https://api.github.com/users/mabc224/events{/privacy}","received_events_url":"https://api.github.com/users/mabc224/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-08T20:28:59Z","updated_at":"2018-02-09T20:45:00Z","closed_at":"2018-02-09T20:45:00Z","author_association":"NONE","body":"I am trying to authenticate a user. Upon Authentication, It calls `ImplicitCallback` and gives this error. \r\n\r\nI have defined my routes like this\r\n```\r\n<Route path=\"/\" exact={true} component={HomePage} />\r\n<SecureRoute path=\"/profile\" component={ProfilePage} />\r\n<Route path=\"/login\" render={() => <LoginPage baseUrl={config.url} />} />\r\n<Route path=\"/register\" component={RegistrationForm} />\r\n<Route path=\"/implicit/callback\" component={ImplicitCallback} />\r\n```\r\nand remainging configuration\r\n\r\n```\r\nconst auth = new Auth({\r\n    history,\r\n    issuer: config.issuer,\r\n    client_id: config.client_id,\r\n    redirect_uri: config.redirect_uri,\r\n    onAuthRequired: ({history}) => history.push('/login')\r\n});\r\n\r\nReactDOM.render(\r\n    <Provider store={store}>\r\n        <Router history={history}>\r\n            <Security auth={auth}>\r\n                <App />\r\n            </Security>\r\n        </Router>\r\n    </Provider>,\r\n    document.getElementById('root')\r\n);\r\n```\r\n\r\nPlease let me know what is wrong with it?"}}
{"actor":{"display_login":"mabc224"}}