humanmade / humanmade/PHPBasicAuth

Make Basic Auth realm filterable

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I've been running into some frustration using basic auth on multisite installations because each network site uses a different Realm value and has to be authenticated to separately.

https://github.com/humanmade/PHPBasicAuth/blob/master/inc/namespace.php#L146

I _think_ that it's possible for different domains to share basic auth state if they use the same realm. If this is possible, it would be nice to either (a) use a single authentication realm for a network by default, or (b) wrap the realm value in an `apply_filters` call, and allow sites to define their own logic for enabling authentication. (or both)

If this is not possible, then this issue can be closed as invalid.

Relevant documentation: https://tools.ietf.org/html/rfc2617

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.