Skip to content

Conversation

@yadutaf
Copy link

@yadutaf yadutaf commented Jul 24, 2020

With "realm" supporting variable expansion, it becomes possible to
conditionally disable PAM based authentication when some other
conditions are valid. Typically, this allows to support both certificate
based authentication for internal services while falling back on PAM
based authentication for humans.

This commit is based on upstream Nginx basic auth implementation.

With "realm" supporting variable expansion, it becomes possible to
conditionally disable PAM based authentication when some other
conditions are valid. Typically, this allows to support both certificate
based euthentication for internal services while falling back on PAM
based authentication for humans.

This commit is based on upstream Nginx basic auth implementation.

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com>
@dvershinin
Copy link

It would be good to update README.md to include examples of conditional authentication using complex values in realm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants