awslabs / amazon-kinesis-video-streams-webrtc-sdk-android

Android SDK for interfacing with Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
58 stars 37 forks source link

Acces denied with a Cognito guest user #31

Closed tantruongnhat closed 3 years ago

tantruongnhat commented 4 years ago

Hi, I am using this sample source. I try to make this work with a Cognito guest user (I have enabled this in the identity pool and added kinesis to the IAM roles). I skip the Login step. I gave the unauth role acces to kinesis in the iam overview.

Screen Shot 2020-08-08 at 12 32 32 AM Screen Shot 2020-08-08 at 12 32 45 AM Screen Shot 2020-08-08 at 12 33 07 AM

I still get the permission denied: AccessDeniedException

I also tried the issue: https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-ios/issues/8, but I can't find a way to implement CognitoCachingCredentialsProvider class.

How can I make it work? Thanks

hassanctech commented 3 years ago

Currently we don't support access for Cognito guest users. We are evaluating adding support for this in the future but do not have an ETA.

MushMal commented 3 years ago

Resolving this for now. We will update this as soon as we have more info