Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-oidc-account-switcher.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
default: patch
---

Fix account switching and logging in with multiple (SSO) accounts silently failing
1 change: 1 addition & 0 deletions src/app/pages/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const createRouter = (clientConfig: ClientConfig, screenSize: ScreenSize)
// Allow reaching the login page with ?addAccount=1 even when already logged in
const url = new URL(request.url);
if (url.searchParams.get('addAccount') === '1') return null;
if (url.searchParams.has('loginToken')) return null;
if (hasStoredSession()) return redirect(getHomePath());
return null;
}}
Expand Down
Loading