[PATCH 0/2] Fix gitlab's token-based authentication w/ kerberos
- From
- Quentin Bouget <ypsah@devyard.org>
- Date
- Feb 4, 2024, 18:54 UTC
- Message-ID
- <20240204185427.39664-1-ypsah@devyard.org>
Gitlab supports GSSAPI-based authentication with kerberos but when setup on port 443, token-based authentication with credentials provided in the remote's URL no longer works (cf. the note here [1]).
This patch series provides a fix which I tested against such a gitlab setup.
This is my first ever contribution to git, apologies in advance for any "faux pas".
[1] https://docs.gitlab.com/ee/integration/kerberos.html#http-git-access-with-kerberos-token-passwordless-authentication
Quentin Bouget (2): http: only reject basic auth credentials once they have been tried http: prevent redirect from dropping credentials during reauth
http.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)
-- 2.43.0