You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JWT based authentication on client side is implemented based on redux (with its actions and reducers). The async calls to the backend server for authentication is indeed done with thunk middleware. What's missing is to include the jwt token in authorization header in subsequent server API calls, so that the server can authenticate (i.e. validate the token signature).
(See #8)
It would be really great if there would be an example and a middleware as explained here.
https://auth0.com/blog/2016/01/04/secure-your-react-and-redux-app-with-jwt-authentication/
The text was updated successfully, but these errors were encountered: