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
In order to understand, I'm trying to replicate your demo but I don't get how you get the user's infos updated after the login and how the props.useror state.user are related to the propsdetails (email, color, etc.) that are displayed in your app...
Hello,
I implemented J-Toker in my frontend app using React and flow (Rails API backend), in a similar way to this project [react-flux-jwt-authentication-sample]https://github.com/auth0/react-flux-jwt-authentication-sample/tree/gh-pages/src
The dashboard should only be accessed by logged in user. In order to do this, I have my Dashboard component wrapped in an AuthenticatedComponent:
Dashobard.jsx
Here is my AuthenticatedComponent.jsx:
Finally here is my LoginStore.jsx code:
Everything works great except when I manually refresh the page. In this case, the Auth.user.signedIn return
undefined
even if the user is logged in.Could someone help me on this?
Thanks in advance.
The text was updated successfully, but these errors were encountered: