amazon-chime-sdk-js icon indicating copy to clipboard operation
amazon-chime-sdk-js copied to clipboard

AccessDenied eventhough I've already added the needed permission for the Role

Open jakelowie opened this issue 1 year ago • 1 comments

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 image

Here is the role with the permission image

Here is how I setup the config image

Here is the returned credentials image

And here is the error I get image

What documentation have you looked at so far?

Already read the set up of AWS SDK using Javascript

jakelowie avatar Jul 26 '24 23:07 jakelowie