GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [LOG_AUTHENTICATED_USER] missing name when logout · Issue #10409 · pgadmin-org/pgadmin4

[LOG_AUTHENTICATED_USER] missing name when logout #10409

New issue
Copy link
New issue
Copy link
Closed
Closed
[LOG_AUTHENTICATED_USER] missing name when logout#10409
Copy link
Labels
Bug

Description

@albundy83
albundy83
opened on Sep 11, 2026
Issue body actions

Please note that security bugs or issues should be reported to [email protected].

Describe the bug

Hello,

sine the new feature to log authenticated user has been done here, it seems that when you logout, username is not displayed in log.

Here an example with logout from oauth2:

1.2.3.4 - - [11/Sep/2026:06:37:07 +0000] "GET /oauth2/logout?next=/browser/ HTTP/1.1" 302 6269 "https://pgadmin4.youpi.fr/browser/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36"

Here an example with "classical" logout:

1.2.3.4 - - [11/Sep/2026:06:34:21 +0000] "GET /logout?next=/browser/ HTTP/1.1" 302 205 "https://pgadmin4.youpi.fr/browser/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36"

To Reproduce
Deploy pgadmin4 and enable LOG_AUTHENTICATED_USER, click on Logout button.

Expected behavior

Add missing username in log:

1.2.3.4 - [email protected] [11/Sep/2026:06:34:21 +0000] "GET /logout?next=/browser/ HTTP/1.1" 302 205 "https://pgadmin4.youpi.fr/browser/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36"

Desktop (please complete the following information):

  • OS: Kubernetes 1.34.8
  • pgAdmin version: 9.17
  • Mode: Server
  • Browser (if running in server mode): Chrome/152.0.0.0
  • Package type: Container

Thanks a lot

Activity

  1. albundy83
    added
    Bug
    on Sep 11, 2026
  2. Garvit-png commented on Sep 12, 2026

    @Garvit-png
    Garvit-png
    on Sep 12, 2026
    More actions

    @albundy83 , can you assign me this issue

  3. dev-hari-prasad commented on Sep 12, 2026

    @dev-hari-prasad
    dev-hari-prasad
    on Sep 12, 2026
    Contributor
    More actions

    @albundy83 , can you assign me this issue

    @albundy83 Seems to be already working on this in PR #10410.

  4. Garvit-png commented on Sep 12, 2026

    @Garvit-png
    Garvit-png
    on Sep 12, 2026
    More actions

    @albundy83 , can you assign me this issue

    @albundy83 Seems to be already working on this in PR #10410.

    Alright! may be can contribute in other issues.

    Reacted by Hari Prasad
  5. albundy83 commented on Sep 13, 2026

    @albundy83
    albundy83
    on Sep 13, 2026
    ContributorAuthor
    More actions

    Hello,

    yes and the fix is working :)

    The issue is "only" on the GET /logout (or GET /oauth2/logout if you use oauth2 authent)

    WITHOUT this fix, you don't have username:

    1.2.3.4 - - [13/Sep/2026:17:54:17 +0000] "GET /oauth2/logout?next=/browser/ HTTP/1.1" 302 6269 "https://pgadmin4.youpi.fr/browser/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36"

    And WITH the fix, you have the username:

    1.2.3.4 - [email protected] [13/Sep/2026:17:50:09 +0000] "GET /oauth2/logout?next=/browser/ HTTP/1.1" 302 6269 "https://youpi.fr/browser/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36"
  6. dpage commented on Oct 13, 2026

    @dpage
    dpage
    on Oct 13, 2026
    Contributor
    More actions

    Fixed by #10410 (5372937), which the reporter confirmed works for both /logout and /oauth2/logout. Closing; the squash merge didn't close it automatically.

  7. dpage
    closed this as completedon Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.