-
Notifications
You must be signed in to change notification settings - Fork 89
Get-CAAuthorizationToken is throwing error #299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please refer discussion #296 for more details. Looks like customer is doing SSO login from the host machine and then mounting the credentials folder in docker. |
Similar issue in .NET SDK aws/aws-sdk-net#2477. |
Hello there, |
Closing ticket since a fix has been pushed. Thank you. |
|
Discussed in #296
Originally posted by rjacquemin October 6, 2022
Describe the bug
using powershelltool for some CI scripts since a while
Everything was working fine but suddenly
Get-CAAuthorizationToken
is showing errorAfter some investigation look like a breaking change was introduce in version 4.1.165
Error message
Expected Behavior
Considering we are logged in with AWS SSO
We should be able to get the Auth Token without pbm using aws powershel tool
It was working before but stop working lately
Current Behavior
to facilitate the repro
i used docker image
Giving following error
Reproduction Steps
Checking with version 4.1.164 is success
Checking with latest is Failed
Possible Solution
No response
Additional Information/Context
No response
AWS Tools for PowerShell version used
AWS.Tools.Installer 1.0.2.4
AWS.Tools.SSO -CleanUp -Force -MaximumVersion 4.1.164 vs latest
AWS.Tools.SSOOIDC -CleanUp -Force -MaximumVersion 4.1.164 vs latest
AWS.Tools.CodeArtifact -CleanUp -Force -MaximumVersion 4.1.164 vs latest
PowerShell version used
Name Value
PSVersion 7.0.12
PSEdition Core
GitCommitId 7.0.12
OS Linux 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: