Skip to content

Fix gitlab's token-based authentication w/ kerberos

Quentin Bouget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2http: only reject basic auth credentials once they have been triedhttp.c+4 -43 replies
2/2http: prevent redirect from dropping credentials during reauthhttp.c+18 -09 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0