mbox series

[0/2] Fix gitlab's token-based authentication w/ kerberos

Message ID 20240204185427.39664-1-ypsah@devyard.org (mailing list archive)
Headers show
Series Fix gitlab's token-based authentication w/ kerberos | expand

Message

Quentin Bouget Feb. 4, 2024, 6:54 p.m. UTC
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(-)