Closed concavegit closed 3 months ago
Hi @concavegit, thanks for opening this issue.
This is a known limitation by how Amplify currently works. However, we will explore adding a way to handle this within the Authenticator component, so I've transferred the issue to the Authenticator repo and tagged it as a Feature Request.
We'll post future updates here.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Thank you!
Describe the bug
I am using the
Authenticator
to manage my app's login state. After 30 days, the identity pool credentials for my logged in session expire and uploading to S3 causes this error:Note that while the identity pool credentials do not work after 30 days, the user pool functions still seem to work. For example, I can still interact with my data in DynamoDB.
Steps To Reproduce
And have myView call
Expected behavior
If the identity pool credentials expire, have
Authenticator
automatically refresh them or log the user out to have them refresh the credentials.Amplify Framework Version
Gen 2
Amplify Categories
Auth, Storage
Dependency manager
Swift PM
Swift version
5.10
CLI version
nom hampe --version is 1.0.4
Xcode version
15.4
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
Platforms
No response
OS Version
iOS 17.5.1
Device
iPhone 15 Pro
Specific to simulators
No response
Additional context
No response