cesanta / docker_auth

Authentication server for Docker Registry 2
Apache License 2.0
1.28k stars 305 forks source link

Support redis & GCS token DB backing in Google & OIDC auth #373

Closed andsens closed 1 year ago

andsens commented 1 year ago

It's currently not possible to do a HA of either OIDC or Google auth. This PR generalizes the redis and GCS backings used in the GitHub and GitLab auth methods and utilizes them in OIDC and Google auth when configured.

Also, unless I missed something, the http timeouts were not respected in any of the clients. I fixed that too.

This builds, but I haven't even tried running it yet, hence the draft status. Just thought I'd get this out here for early feedback.

This is like #365 without the package version bumps