This PR adds two additional (optional) parameters to the BasicAuth class:
Support for a custom authorization header (defaults to authorization)
Support to disable the "www-authenticate" canary check
The above changes are required to integrate with services, for example Authelia, that expect a different "Authorization" header and do not reply with "WWW-Authenticate" because they don't want the browsers to show the "User/Password" dialog.
Changes proposed in this pull request:
This PR adds two additional (optional) parameters to the BasicAuth class:
authorization
)The above changes are required to integrate with services, for example Authelia, that expect a different "Authorization" header and do not reply with "WWW-Authenticate" because they don't want the browsers to show the "User/Password" dialog.
Changes should be backwards compatible.