DEV Community

Discussion on: Authentication using the Amazon Cognito to an Angular application

 
rodrigokamada profile image
Rodrigo Kamada

Did you configure the userPoolId and userPoolWebClientId parameters in the environment files?

Thread Thread
 
theitalianjob profile image
Edoardo Zecchi

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,
});