Open Vincent-Crescente opened 5 years ago
Were you able to resolve this issue?
I have same issue:
Uncaught TypeError: this.storage.getItem is not a function
at CognitoAuth.getLastUser (amazon-cognito-auth.js:1356)
at new CognitoAuth (amazon-cognito-auth.js:981)
at initCognitoSDK (index.html:205)
at onLoad (index.html:105)
at onload (index.html:32)
https://github.com/aws/amazon-cognito-auth-js
var authData = { ClientId : AppWebDomain : TokenScopesArray: RedirectUriSignIn : RedirectUriSignOut : IdentityProvider : UserPoolId : AdvancedSecurityDataCollectionFlag : Storage: }; var auth = new AmazonCognitoIdentity.CognitoAuth(authData);
When filled out correctly doing this part gives me a : Uncaught TypeError: this.storage.getItem is not a function at e.value (CognitoAuth.js:392) at new e (CognitoAuth.js:66). These are in files I don't touch.