Open
Description
Description
When adding Cognito auth to a project, if email based sign-in is chosen then Amplify.Auth.getCurrentUser()
returns an AuthUser
that contains the user ID in both userId and username attributes. Expectation would be that username would contain the email address.
Categories
- Analytics
- API (REST)
- API (GraphQL)
- Auth
- Authenticator
- DataStore
- Notifications (Push)
- Storage
Steps to Reproduce
- Configure Amplify Auth (amplify add auth) to use email based authentication.
- Sign-up, confirm and sign-in user
- Call
Amplify.Auth.getCurrentUser()
.
Screenshots
No response
Platforms
- iOS
- Android
- Web
- macOS
- Windows
- Linux
Flutter Version
3.10.5
Amplify Flutter Version
1.2.0
Deployment Method
Amplify CLI
Schema
No response