Closed GenuineRex closed 4 years ago
I am using amazon-cognito-auth-js with Angular 9 and running into an error with global.
"Cannot read property 'atob' of undefined"
This is from line 730 in dist/amazon-cognito-auth-js where decode calls global.atob.
I assume that I probably need to configure webpack differently but I am asking if anyone here has successfully utilized this package with Angular 9.
Resolved. I was referencing the package in Angular from the "dist" folder. Once I fixed the reference all was well.
I am using amazon-cognito-auth-js with Angular 9 and running into an error with global.
"Cannot read property 'atob' of undefined"
This is from line 730 in dist/amazon-cognito-auth-js where decode calls global.atob.
I assume that I probably need to configure webpack differently but I am asking if anyone here has successfully utilized this package with Angular 9.