Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support auth via certificates and headers #343

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

devon-mar
Copy link
Contributor

This PR adds support for authentication via a client certificate (#300) or via a header set by a reverse proxy.

In order to use a client certificate (or auth by header), the username passed to docker login must match that of the certificate's CN or the value in the header used for authentication. The password doesn't matter. I've added an example to show how I'm using it in the examples folder.

@hmoffatt
Copy link

Thanks for this PR. This means I can use for example mod_auth_openidc for Apache2 to handle authentication.

@Leobaillard
Copy link

Can this feature be merged? It would be very useful!

@FootStark
Copy link

+1 Would love to see this merged to enable "X-Forwarded-User"-Auth via reverse proxy!

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.

5 participants