Skip to content

fix: don't reopen the notifications stream without a token on logout - #4420

Merged
JammingBen merged 1 commit into
mainfrom
fix/sse-reopen-on-logout
Nov 12, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/sse-reopen-on-logout

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Description

Logging out (or ending up on /access-denied after an auth error) reopened the notifications SSE stream without a token, causing a 401 that retried every ~35 s.

  • The notifications component now unsubscribes from the stream it subscribed to, instead of fetching (and thereby creating) a new one during teardown.
  • The SSE adapter no longer connects without an access token or credentials. It connects once a token is set.

Related Issue

@JammingBen
JammingBen merged commit 859d9a1 into main Nov 12, 2026
29 checks passed
@JammingBen
JammingBen deleted the fix/sse-reopen-on-logout branch November 12, 2026 08:12
@openclouders openclouders mentioned this pull request Nov 12, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logout reopens the notifications stream without a token and gets a 401

2 participants