Skip to content

Conversation

@rli
Copy link
Contributor

@rli rli commented Dec 20, 2024

If a user is somehow in the situtation where they have an sso-session defined, with a token in their SSO cache (either valid/invalid), then prepareBrowser fails since it tries to serialize the state of connectionSettings without the jackson-jsr310 module.

When using the IDE normally, this should not be possible because logout destroys the existing token and there is a prior check to see if user should be shown the chat panel / re-auth flow instead of the login browser

This is not intended behavior, so fix by configuring this to be an ignored field.

#5214

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

If a user is somehow in the situtation where they have an `sso-session` defined,
with a token in their SSO cache (either valid/invalid), then prepareBrowser fails
since it tries to serialize the state of `connectionSettings` without the jackson-jsr310 module.

This is not intended behavior, so fix by configuring this to be an ignored field.
@rli rli requested review from a team as code owners December 20, 2024 19:11
@github-actions
Copy link

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@rli rli merged commit 2f4877a into main Jan 9, 2025
15 checks passed
@rli rli deleted the rli/login-issue branch January 9, 2025 16:28
karanA-aws pushed a commit to karanA-aws/aws-toolkit-jetbrains that referenced this pull request Jan 17, 2025
If a user is somehow in the situtation where they have an `sso-session` defined, with a token in their SSO cache (either valid/invalid), then prepareBrowser fails since it tries to serialize the state of `connectionSettings` without the jackson-jsr310 module.

When using the IDE normally, this should not be possible because logout destroys the existing token and there is a prior check to see if user should be shown the chat panel / re-auth flow instead of the login browser

This is not intended behavior, so fix by configuring this to be an ignored field.
karanA-aws pushed a commit to karanA-aws/aws-toolkit-jetbrains that referenced this pull request Jan 22, 2025
If a user is somehow in the situtation where they have an `sso-session` defined, with a token in their SSO cache (either valid/invalid), then prepareBrowser fails since it tries to serialize the state of `connectionSettings` without the jackson-jsr310 module.

When using the IDE normally, this should not be possible because logout destroys the existing token and there is a prior check to see if user should be shown the chat panel / re-auth flow instead of the login browser

This is not intended behavior, so fix by configuring this to be an ignored field.
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.

3 participants