offlineprogrammer / amplify_auth_custom

1 stars 2 forks source link

Can't login in a passwordless use case #5

Open pedraohenrique opened 2 months ago

pedraohenrique commented 2 months ago

I'm trying to run this project. I've followed all steps and when I try to login without password I'm not able to do so. I always get the message: No password was provided

Did I miss something?

P.S.: I had to update the external libs, which could be the root cause of this issue.

pedraohenrique commented 2 months ago

I was able to figure out what happened... Amplify V2 don't allow CUSTOM_AUTH (or need further configuration which I don't know and wasn't able to find out).

Just downgraded the libs to v1 and everything is working fine now:

  amplify_auth_cognito: ^1.0.0
  amplify_authenticator: ^1.0.0
  amplify_flutter: ^1.0.0

Does anyone know how to make it to work with Amplify V2 framework? Downgrading it to V1 will lead me to another issues in the API pagination which has changed in the last versions...