docker_auth icon indicating copy to clipboard operation
docker_auth copied to clipboard

Support auth via certificates and headers

Open devon-mar opened this issue 2 years ago • 3 comments

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.

devon-mar avatar Jun 15 '22 06:06 devon-mar

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

hmoffatt avatar Jun 28 '22 09:06 hmoffatt

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

Leobaillard avatar Nov 10 '22 09:11 Leobaillard

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

FootStark avatar Apr 04 '23 15:04 FootStark