aws / amazon-chime-sdk-ios

An iOS client library for integrating multi-party communications powered by the Amazon Chime service.
https://aws.amazon.com/chime/chime-sdk/
Apache License 2.0
144 stars 67 forks source link

AmazonChimeSDK uses expired chime credentials after providing new credentials. #686

Open aparna-tati-simformsolutions opened 4 months ago

aparna-tati-simformsolutions commented 4 months ago

Describe the bug AmazonChimeSDK uses expired chime credentials even after providing the new chime credentials.

To Reproduce Steps to reproduce the behavior:

  1. We have put 15 min timeout for chime credentials expire time from backend.
  2. After expiring the credentials we will taking new credentials and trying to intialise the SDK again.
  3. It will give The Security token an expired exception in getSessionEndPoint() function and we have debugged your SDK we have seen, the SDK is still using expired credentials even when we are passing new credentials.

Expected behavior After the chime credentials expire and are initialised with new credentials, The SDK must need to use new chime credentials instead of expired credentials.

ChimeSDK Version I am using 'AWSChimeSDKMessaging', '~> 2.36.3' this version