Closed lmousom closed 10 months ago
Even I'm facing the same issue. @lmousom can you share the code snippet that you pasted from your clipboard here?
Hello, @lmousom 👋 and thank you for opening this issue. Can you clarify what kind of authentication flow you have set up (i.e. is this TOTP/MFA based or neither)? And as @utkarshk384 asked above, could you provide us with more of the frontend code you're using for authentication calls?
@lmousom, wanted to circle back and see if you're still experiencing this issue. If so, can you address the questions above please. Thanks!
Closing this issue as we have not heard back from you. If you are still experiencing this, please feel free to reply back and provide any information previously requested and we'd be happy to re-open the issue.
Thank you!
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Describe the bug
I encountered a bug in the CognitoUserPool.js file within the package, specifically in the
amazon-cognito-identity-js
library. When attempting to create a user using the signUp method of CognitoUserPool, I encountered a TypeError. The error message is:TypeError: callback is not a function
. The expected behavior is to receive a result in case of success or an error in case of failure.Expected behavior
I expected to receive a result in case of success or an error in case of failure.
Reproduction steps
const userPool = new AmazonCognitoIdentity.CognitoUserPool(poolData); userPool.signUp
method in your code.Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
https://github.com/aws-amplify/amplify-js/assets/25593137/088722bc-2367-42ec-8bc0-a00dfc011d2c