aws-amplify / amplify-flutter

A declarative library with an easy-to-use interface for building Flutter applications on AWS.
https://docs.amplify.aws
Apache License 2.0
1.33k stars 247 forks source link

Authenticator email(signup), goes to cognito user pool without lower or upper function applied. #5678

Open jamontesg opened 1 week ago

jamontesg commented 1 week ago

Description

My users ( When the user signs up) are typing. emails. like. Xaaaa@a.com. and this ugly email with lower and upper case, is stored into cognito users pool. I am trying to keep my information clean. Any ideas for get emails in lowercase using Authenticator ?

Flutter version 3.24.4 on channel stable at /Users/jmontes/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 603104015d (3 weeks ago), 2024-10-24 08:01:25 -0700 • Engine revision db49896cf2 • Dart version 3.5.4 • DevTools version 2.37.3

amplify_authenticator: 2.3.0 amplify_flutter: 2.5.0

tested with android emulator

Thanks

Categories

Steps to Reproduce

1 amplify. init add api/cognito authentication 2 put. authenticator on project 3 signup using a email with lower and upper case 4 check you. cognito pool on AWS console

Screenshots

No response

Platforms

Flutter Version

3.24.4

Amplify Flutter Version

2.5.0

Deployment Method

Amplify Gen 2

Schema

No response

Equartey commented 1 week ago

Hi @jamontesg, thank you for opening this issue. I'm going to mark this as a feature request, but we will also investigate if there is a workaround.