Skip to content

fix: SSO reconnection fails - WPB-23076 🍒#4276

Open
github-actions[bot] wants to merge 1 commit intodevelopfrom
fix/sso-reconnection-fails-WPB-23076-cherry-pick
Open

fix: SSO reconnection fails - WPB-23076 🍒#4276
github-actions[bot] wants to merge 1 commit intodevelopfrom
fix/sso-reconnection-fails-WPB-23076-cherry-pick

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 5, 2026

This PR was automatically cherry-picked based on the following PR:

Original PR description:


BugWPB-23076 [iOS/Desktop] : Wire SSO Reconnection Fails

Issue

Re-authentication via SSO fails

Cause

In ReloginViaSSOViewModel we validate the sso code by trying to convert the user input string to a UUID. However, the format of sso code is as such: wire-5e336058-05f8-4896-bcf8-cb9952bcdf76. We have wire- prefix that needs to be stripped before creating the UUID. The extra characters make the validation fail because it cannot convert it to UUID directly.

Solution

Reuse the SSOCodeValidator from the login flow in order to validate the SSO code

Testing

Requirement: Have a team with SSO enabled

  1. Log in via SSO
  2. Trigger access token failure
  3. Reauthenticate via SSO

Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant