danilobuerger / redux-implicit-oauth2

OAuth 2.0 Implicit Grant Flow with Redux
MIT License
30 stars 20 forks source link

The login() action creator isn't setting the isLoggingIn store item #18

Open shiraze opened 4 years ago

shiraze commented 4 years ago

I can make a call to dispatch(login(config)) and cause the login window to pop-up. I can successfully get a token, and the store state is populated as expected. If I choose to close the pop-up without authenticating the store state is also as expected. For some reason, though, I don't see a 'LOGIN_REQUEST' action taking place, nor does isLoggingIn get set. Any ideas what could be going wrong?

shiraze commented 4 years ago

Is the authMiddleware getting in the way of requesting an update to the redux store state?