Skip to content

[appserver-io/http] Webserver based authentication is missing "realm" #847

@wick-ed

Description

@wick-ed

If using webserver based authentication it seems that the configuration is not picked up correctly.
Usage results in the following error:

Missing required configuration values for authentication "Basic", needs at least "realm".

A test configuration would look like the following:

 <authentication uri="^\/test.*">
     <params>
         <param name="type" type="string">\AppserverIo\Http\Authentication\BasicAuthentication</param>
         <param name="realm" type="string">PhpWebServer Basic Authentication System</param>
         <param name="file" type="string">var/www/auth/basic/.htpasswd</param>
   </params>
</authentication>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions