Closed coultergeist closed 5 years ago
@coultergeist Redirect call is functioning as expected what is not functioning is isAuthenticated Session. isAutenticated clear the session whenever the user refresh the page.
I believe the problem might be cause by Auth.currentSession() method in aws simplify, AWS simplify can't authenticate user because there is problem connecting to AWS Cognito.
Here when tried to login it display saying user does not exit. This error has to do with AWS Cognito.
@hkhual, at the
if(!auth) return <Redirect to='/' />
(line 100 on Dashboard.js) the redirect should call the dashboard. Right now it goes back to signin page.