You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(auth): auto-logout on server URL change, drop redundant Clear Credentials prompts (#327) (#329)
Remove the two overlapping "Clear Credentials" notifications shown on an
artemis.serverUrl change (one whose button never actually cleared anything).
When the server URL changes while logged in, clear the stored credentials,
disconnect, and return to the login view; a token issued by the previous
server is not valid on a different one.
Also remove the now-dead URL-change helper chain: AuthManager.isServerUrlChanged
and getStoredLoginServerUrl, the serverUrl parameter and ARTEMIS_SERVER_URL
secret persistence, and the unused showLogin callback on AuthFlowHandler.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ All notable changes to the Artemis VS Code extension will be documented in this
7
7
### Changed
8
8
9
9
-**WebSocket status bar:** Removed the `artemis.showWebSocketStatusBar` setting. The connection indicator now appears automatically only when there is a problem; enable `artemis.developerMode` to keep it always visible with full diagnostics on hover. When the connection drops, students now see a plain-language explanation (no "WS" jargon) instead of a technical label.
10
+
-**Server URL change:** Removed the manual "Clear Credentials" prompts that appeared when the Artemis server URL changed. Changing the server while logged in now logs you out automatically and returns you to the login view (a session is not valid across servers); the logout command remains for clearing credentials on demand.
0 commit comments