Not able to call fromCognitoIdentityPool on iOS (browser) #531
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 5 days unless further comments are made.
third-party
This issue is related to third-party libraries or applications.
Describe the bug
I just noticed that Chrome on iOS devices fails when calling
fromCognitoIdentityPool
. But it works on my desktop machine just fine with Chrome and Safari.Example code:
The error I get:
I believe the error is related to
TypeError: JSON.stringify cannot serialize cyclic structures
Expected Behavior
I expect it to run through the last step where it errors out, which should resolve to:
Current Behavior
Currently it errors on
Reproduction Steps
Just run
fromCognitoIdentityPool
from Chrome in iOSPossible Solution
No response
Additional Information/Context
@aws-sdk/credential-providers is on version 3.664.0
SDK version used
1.21.1
Environment details (OS name and version, etc.)
iPhone 13 Pro, Google Chrome
The text was updated successfully, but these errors were encountered: