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
since your checks for authentication are user && or if(user) etc, where user is read from localstorage - its checking that a key of user exists - not whether that is a valid AWS authenticated user etc
amplify have a guide on how to setup protected routes with react
since your checks for authentication are
user &&
orif(user)
etc, where user is read from localstorage - its checking that a key of user exists - not whether that is a valid AWS authenticated user etcamplify have a guide on how to setup protected routes with react
https://ui.docs.amplify.aws/react/guides/auth-protected
The text was updated successfully, but these errors were encountered: