Skip to content
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

CORE-311 no redirect after calling userSignedOut #5247

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Conversation

dvoet
Copy link
Contributor

@dvoet dvoet commented Feb 10, 2025

Jira Ticket: https://broadworkbench.atlassian.net/browse/CORE-311

Summary of changes:

What

  • when a user's session expires we no longer redirect to b2c to log the user out because b2c has already done so. Recently introduced code instead calls userSignedOut directly to clear local state. The new code also redirects to root just like it did in the error condition. It turns out that clearing the local state puts up the sign in page all by itself and redirecting to root is not a good UX.

Why

Testing strategy

Copy link
Contributor

@davidangb davidangb left a comment

Choose a reason for hiding this comment

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

did not test it, looks good

@dvoet dvoet added this pull request to the merge queue Feb 10, 2025
Merged via the queue into dev with commit 42616ae Feb 10, 2025
11 checks passed
@dvoet dvoet deleted the no_signout_root_redirect branch February 10, 2025 18:48
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.

4 participants