{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/1881","labels_url":"https://api.github.com/repos/rackt/react-router/issues/1881/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/1881/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/1881/events","html_url":"https://github.com/rackt/react-router/issues/1881","id":106005511,"number":1881,"title":"Auth flow issue","user":{"login":"konpa","id":778731,"avatar_url":"https://avatars.githubusercontent.com/u/778731?v=3","gravatar_id":"","url":"https://api.github.com/users/konpa","html_url":"https://github.com/konpa","followers_url":"https://api.github.com/users/konpa/followers","following_url":"https://api.github.com/users/konpa/following{/other_user}","gists_url":"https://api.github.com/users/konpa/gists{/gist_id}","starred_url":"https://api.github.com/users/konpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konpa/subscriptions","organizations_url":"https://api.github.com/users/konpa/orgs","repos_url":"https://api.github.com/users/konpa/repos","events_url":"https://api.github.com/users/konpa/events{/privacy}","received_events_url":"https://api.github.com/users/konpa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-11T13:02:38Z","updated_at":"2015-09-11T14:39:31Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to implement your [auth flow](https://github.com/rackt/react-router/blob/master/examples/auth-flow/app.js) in my app but it's not working. The ```requireAuth``` does not seem to be triggered ```onEnter```. If I add the parentheses ```onEnter={requireAuth()}```, it's triggered but I get a undefined errors for ```nextState``` and \"not a function\" for ```redirectTo```.\r\n\r\nI know this can be a dumb question but I'm new to React and I tried a lot of different things before deciding to open an issue on your repo (and read a lot of articles talking about restricted access).\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/139563445","html_url":"https://github.com/rackt/react-router/issues/1881#issuecomment-139563445","issue_url":"https://api.github.com/repos/rackt/react-router/issues/1881","id":139563445,"user":{"login":"konpa","id":778731,"avatar_url":"https://avatars.githubusercontent.com/u/778731?v=3","gravatar_id":"","url":"https://api.github.com/users/konpa","html_url":"https://github.com/konpa","followers_url":"https://api.github.com/users/konpa/followers","following_url":"https://api.github.com/users/konpa/following{/other_user}","gists_url":"https://api.github.com/users/konpa/gists{/gist_id}","starred_url":"https://api.github.com/users/konpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konpa/subscriptions","organizations_url":"https://api.github.com/users/konpa/orgs","repos_url":"https://api.github.com/users/konpa/repos","events_url":"https://api.github.com/users/konpa/events{/privacy}","received_events_url":"https://api.github.com/users/konpa/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T14:39:31Z","updated_at":"2015-09-11T14:39:31Z","body":"Yes, it helps! Thanks. I did not see that I was not on the same versions.\r\n\r\nNow I'm trying to understand the syntax of this one..."}}