aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.96k stars 1.05k forks source link

Fix SSO session token refresh #3058

Closed dt-synth closed 1 month ago

dt-synth commented 2 months ago

Description of changes: SSO session token refresh didn't work with the C++ SDK (but worked with the AWS CLI). This commit fixes the behaviour of SSOBearerTokenProvider to enable successful SSO session token refresh.

Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

SergeyRyabinin commented 1 month ago

Thank you a lot for submitting this fix!