react-redux-jwt-auth-example
react-redux-jwt-auth-example copied to clipboard
A link for the code
Could you please add a link to the appropriate file and code line for each of these steps?
- The original action creator parses the server response and dispatches success or failure actions accordingly (link here)
- Success actions trigger an update of the auth state, passing along the token and any decoded data from the JWT payload (link here)
- A higher-order authentication component receives the new auth state as props (link here)