amazon-chime-sdk-js
amazon-chime-sdk-js copied to clipboard
AccessDenied eventhough I've already added the needed permission for the Role
What are you trying to do?
I am trying to start a messaging session on my front end using the Chime SDK, I am doing these by connecting to my AWS using a Cognito Identity Pool since connecting using AWS Access key and secret key in the front end is not advisable since it will exploit the important credentials. Now the problem is I already added the needed policy for the Role for that specifc Identity pool but I still get AccessDenied Exception. Can you please help me where I got it wrong here? Or maybe there is something that I am missing.
Here is my Identity pool
Here is the role with the permission
Here is how I setup the config
Here is the returned credentials
And here is the error I get
What documentation have you looked at so far?
Already read the set up of AWS SDK using Javascript