DEV Community

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

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