ActoKids / AD440_W19_CloudPracticum

3 stars 1 forks source link

Bug: AWS Cognito not functioning #120

Closed coultergeist closed 5 years ago

coultergeist commented 5 years ago

@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.

hkhual commented 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.

hkhual commented 5 years ago

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.

hkhual commented 5 years ago

Here when tried to login it display saying user does not exit. This error has to do with AWS Cognito. user does not exit