This is the error I receive on console when I try to call
"Auth.signIn(user.email, user.password)"
[ERROR] 13:56.48 AuthError - Error: Amplify has not been configured correctly. The configuration object is missing required auth properties. This error is typically caused by one of the following scenarios:
This could also be caused by multiple conflicting versions of amplify packages, see (docs.amplify.aws/lib/troubleshooti...) for help upgrading Amplify packages.
solved... I've changed in camelCase the cognito "Auth" property and this caused the error... I have to insert "eslint-disable" to remove ide warnings...
This is the error I receive on console when I try to call
"Auth.signIn(user.email, user.password)"
[ERROR] 13:56.48 AuthError - Error: Amplify has not been configured correctly. The configuration object is missing required auth properties. This error is typically caused by one of the following scenarios:
amplify push
after adding auth viaamplify add auth
? See aws-amplify.github.io/docs/js/auth... for more informationDid you configure the userPoolId and userPoolWebClientId parameters in the environment files?
solved... I've changed in camelCase the cognito "Auth" property and this caused the error... I have to insert "eslint-disable" to remove ide warnings...
Amplify.configure({
// eslint-disable-next-line @typescript-eslint/naming-convention
Auth: environment.cognito,
});