Skip to content

Add a way to propagate authenticator return code to 401 action #21

@adambadura

Description

@adambadura

Is it possible to somehow propagate authenticator return code to the action defined by directive

ErrorDocument 401 <action>

From my current findings it seems that the only way is by parsing Apache logs. But it doesn't seem a nice solution.

In case if this would end to be the only solution what should we be looking for? In our scenario we can put any arbitrary log from the authenticator program (either by outputting it or by calling syslog). But what to put there to ensure that 401 action will know which particular log to use? Requested URL itself doesn't seem enough. If there are multiple requests to the same URL then it could happen that more than one log will be made before 401 action reaches point of log parsing. So what else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething that we currently don't do, but could. AKA feature request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions