Unnecessary Basic authentication dialog appears

Problem: When accessing a route such as https://localhost/ via an https connection, or when accessing a file located in docroot via an https connection, a Basic Authentication dialog box appears.

Steps to Reproduce:

  1. Download the full version of Payara7.2025.1.Beta1 from the Payara website.
  2. Extract and unpack the downloaded ZIP file to a location of your choice.
  3. Start the Payara server (Since this is a Windows environment, set the Java path in glassfish/config/asenv.bat in the extracted folder. Java: zulu21.40.17-ca-jdk21.0.6-win_x64).
  4. Before accessing http://localhost:4848, access https://localhost:8181. The Basic Authentication dialog box does not appear.
  5. Access http://localhost:4848 (simply access the URL).
  6. Access https://localhost:8181. The Basic Authentication dialog box appears.

This issue does not occur with Payara5.2022.5, but does occur with a newly installed standard Payara7.2025.1.Beta1.
The same issue occurs with all versions of Payara7.2025.1, from Alpha1 to 4, and Beta1.

How come?

Hi Yagi - thanks for raising this issue.

We are looking into it now and will report back once more information is available.

thanks,
Dominika @ Payara Community Team

Hi Dominika,Thank you for checking.
We look forward to hearing from you.