Skip to content

Conversation

@ahusseinali
Copy link

Issue #, if available:
Current parseCookie command doesn't parse AccessToken and StudioSession Token as they're marked as HttpOnly cookies. VS Code Extensions (specifically AWS Toolkit & Amazon Q extension) need to be able to read these cookies to auto-login SSO user (using their access token instead of Container credentials).

Description of changes:
Switch parseCookie command to read cookies from a new Http server end point that echos back the cookie credentials to the caller.

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

Copy link

@bhadrip bhadrip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good !
Do we need any unit test to make sure future upgrades are not breaking this ?

@ahusseinali ahusseinali closed this by deleting the head repository Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants