Refresh Cognito credentials after 1 hour expiration #4084
Replies: 3 comments
-
Hey @Selenophilia thanks for opening this issue, I am not quite able to understand the question here. Are your credentials expiring before time? Can you share how you are using these credentials and what your use case is? |
Beta Was this translation helpful? Give feedback.
-
Hi @ajredniwja, Thanks for your response! No, Our credentials is expiring after 1 hour . I just notice this because I kept seeing this error on our logs We are using |
Beta Was this translation helpful? Give feedback.
-
@Selenophilia, we are facing same issue, after expired session we can't refresh token by @ajredniwja Can you help me by providing how those method work or how i can renew my token or session ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Confirm by changing [ ] to [x] below:
Hello! I have a concerned so how do you automatically refresh you AWS SDK session? I tried different things using
.refresh()
. and It seems its not automatically updating or even resetting myAWS.config.credentials
? What am i doing wrong here?my code below:
Beta Was this translation helpful? Give feedback.
All reactions