amazon-cognito-auth-js icon indicating copy to clipboard operation
amazon-cognito-auth-js copied to clipboard

useCodeGrantFlow calls xhr.open twice (throws 'Cannot open, already sending')

Open yonahforst opened this issue 7 years ago • 0 comments

when i comment out this line, it works: https://github.com/aws/amazon-cognito-auth-js/blob/808e304aac9f61b4a1e8d9af0f8f5196d32f3ce8/src/CognitoAuth.js#L541

(using it in a react native app)

yonahforst avatar Jan 19 '18 15:01 yonahforst