Skip to content

Nginx Basic Auth Re-prompts Continuously After Login (Regression in Latest Versions) #65

@NabilNewaz

Description

@NabilNewaz

In the newer versions, there appears to be an issue with Nginx Basic Authentication. The browser keeps prompting for login credentials repeatedly, even after successfully signing in.

Previously, authentication was required only once per session or browser instance. However, starting from version 2026.4.22, this behavior has changed — the browser does not retain the login state, and the authentication prompt keeps appearing on every request.

This issue was not present in earlier versions.

Steps to Reproduce:

Access any endpoint protected by Nginx Basic Auth
Enter valid credentials
Observe that the browser prompts again instead of maintaining the session

Expected Behavior:

Authentication should be required only once per session or browser instance
The browser should cache credentials and not repeatedly prompt

Actual Behavior:

The browser repeatedly asks for credentials
Login state is not preserved

Possible Cause:
It seems there might be a regression or misconfiguration related to Nginx Basic Auth introduced in version 2026.4.22 or later.

Request:
Please investigate this issue and confirm whether there have been any recent changes affecting Basic Auth behavior. Any guidance or fix would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions