Skip to content

$remote_user not set during authenticated request #22

@tmcclure

Description

@tmcclure

In order to pass the username along to a fastcgi application (trac), I had to set a value for remote user explicitly like so as a workaround:

if ($http_authorization ~ username="([^\"]+)") {
    set $htdigest_user $1;
}
fastcgi_param  AUTH_USER          $htdigest_user;
fastcgi_param  REMOTE_USER        $htdigest_user;

Would be better if $remote_user was already set up correctly like it is with auth_basic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions