Problem/Motivation

The WWW-Authenticate response header is not passed to the browser when BasicAuth sends the challenge. As a result, browsers do not display the authentication prompt.

Proposed resolution

Remaining tasks

Update tests.

User interface changes

API changes

Comments

znerol’s picture

Status: Active » Needs review
StatusFileSize
new1.09 KB
dawehner’s picture

Issue tags: +Needs tests

We certainly needs tests here I would say. Looks like a reasonable fix though.

berdir’s picture

That should be enough for tests?

Status: Needs review » Needs work
berdir’s picture

Status: Needs work » Needs review

Grml.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

+1

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 48f6e29 and pushed to 8.0.x. Thanks!

  • alexpott committed 48f6e29 on 8.0.x
    Issue #2432657 by Berdir, znerol: BasicAuth challenge never sent to...
klausi’s picture

Component: user system » basic_auth.module

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.