Skip to content

Conversation

@rli
Copy link
Contributor

@rli rli commented Sep 26, 2024

If user ends up in state where they have a connection, but extension doesn't think it's valid for Q, then the sign-in flow will never complete and they need to restart the IDE for the new token to be picked up

License

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

@rli rli requested a review from a team as a code owner September 26, 2024 23:49
.BuilderId(scopes, onPendingToken, onError, onSuccess)
.login(project)

// TODO refresh the pane here for case when provider is no-op (i.e. provider exists and has a valid token), to fix issue where user is stuck waiting for browser
Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe solved by abandoning idempotency semantics as current diff;
write test to confirm scenario when activeConnection() has delta from activeConnectionForFeature()

@github-actions
Copy link

github-actions bot commented Sep 27, 2024

Qodana Community for JVM

2 new problems were found

Inspection name Severity Problems
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 1
Unused symbol 🔶 Warning 1

💡 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 changed the title Fix case where user can never login to Builder ID again Fix case where user gets stuck while logging into Builder ID Oct 2, 2024
@rli rli merged commit f675c2b into main Oct 3, 2024
13 of 16 checks passed
@rli rli deleted the rli/fix-bid-login branch October 3, 2024 00:51
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