I am Renewing Auth0 tokens by refresh token, if those are expired… after that, we fetch data from AWS… all works fine most of the time…
But some times if we renew Tokens, AWS returns error of "User: arn:aws:sts::390023004872:assumed-role/momentSnap-staging-r-IamCognitoUnauthRole-1SM7OOSGY2ZMY/CognitoIdentityCredentials is not authorized to perform: execute-api:Invoke on resource: arn:aws:execute-api "
Has anyone faced same issue? … Please help
Thanks in advance