Describe the bug
When I used authenticationFlowType: 'USER_PASSWORD_AUTH' in my configuration of amplify. After I signin with my usrname and password then Auth.currentUserInfo() is returning null.
I doubled checked it. If I remove authenticationFlowtype it shows all the user properties
To Reproduce
Steps to reproduce the behavior:
Go to 'config file and add authenticationFlowType: 'USER_PASSWORD_AUTH''
check on '.Auth.currentUserInfo()'
See Null
Expected behavior
It should return user attributes
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug When I used
authenticationFlowType: 'USER_PASSWORD_AUTH'
in my configuration of amplify. After I signin with my usrname and password then Auth.currentUserInfo() is returning null.I doubled checked it. If I remove authenticationFlowtype it shows all the user properties
To Reproduce Steps to reproduce the behavior:
Expected behavior It should return user attributes
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.