Hey great vid, but how is it secure If we can get the cognito user of someone only via email? In the login function cause it returns the cognito user
@damarisscott76433 ай бұрын
Hi all, I'm pretty new to all this. I'm getting an error when using "import { Auth } from 'aws-amplify';" It says: The requested module '/node_modules/.vite/deps/aws-amplify.js' does not provide an export named 'Auth'. Has AWS changed something that you know of?
@nadetastic_3 ай бұрын
The newest version of aws-amplify v6 and higher has different imports. You no longer import Auth class, you import the method itself. Example for sign in docs.amplify.aws/react/build-a-backend/auth/connect-your-frontend/sign-in/
@damarisscott76433 ай бұрын
@@nadetastic_ Oh wow! You are a life saver. I really appreciate it
@myfriendhenry18 ай бұрын
Wow. You are an amazing tutor. Excellent video that addressed several questions I had.
@yo_music_202310 ай бұрын
Thanks, Dan. It was helpful.
@perc-ai Жыл бұрын
this is not working anymore I am getting an undefined error when i send Auth.sendCustomChallenge with the cognito user and the code, pls help
@nadetastic_ Жыл бұрын
Are you still seeing this error? I’d like to try reproduce what you are experiencing if so
@sebastianbejas72095 ай бұрын
@@nadetastic_ Not working still...
@sebastianbejas72095 ай бұрын
@@nadetastic_ getting this error in the console. TypeError: user.sendCustomChallengeAnswer is not a function (it is undefined).