Skip to content

fix(auth): stop login flash on logout, add external user-management link#1268

Merged
perber merged 1 commit into
mainfrom
fix/logout-flash-and-external-user-management
Jul 5, 2026
Merged

fix(auth): stop login flash on logout, add external user-management link#1268
perber merged 1 commit into
mainfrom
fix/logout-flash-and-external-user-management

Conversation

@perber

@perber perber commented Jul 5, 2026

Copy link
Copy Markdown
Owner

When httpRemoteUserLogoutUrl is configured, logging out cleared local session state before redirecting, which briefly flashed the local login screen before the browser navigated away. Now the redirect happens first and the server-side session is invalidated in the background.

Also add an optional userManagementUrl config: when set, the in-app User Management entry becomes an external link and the /users route is disabled, following the same pattern as the existing logout URL. The backend /api/auth/users* routes are left untouched.

When httpRemoteUserLogoutUrl is configured, logging out cleared local
session state before redirecting, which briefly flashed the local login
screen before the browser navigated away. Now the redirect happens first
and the server-side session is invalidated in the background.

Also add an optional userManagementUrl config: when set, the in-app User
Management entry becomes an external link and the /users route is
disabled, following the same pattern as the existing logout URL. The
backend /api/auth/users* routes are left untouched.
@perber perber merged commit c1ce825 into main Jul 5, 2026
9 checks passed
@perber perber deleted the fix/logout-flash-and-external-user-management branch July 5, 2026 12:39
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.

1 participant