amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

CookieStorage is not defined #203

Closed craigp1231 closed 4 years ago

craigp1231 commented 4 years ago

When attempting to use

new CookieStorage()

Chrome throws an exception that CookieStorage is not defined. But looking in the JS file(s) it is...

craigp1231 commented 4 years ago

The usage example is not very clear... you have to use AmazonCognitoIdentity.CookieStorage instead of CookieStorage