Custom headers for proxy maven repository to Gitlab package repo? - Sonatype Nexus Repository - Sonatype Community

Custom headers for proxy maven repository to Gitlab package repo?

post by pat.turner on Aug 16, 2023

Patrick Turner

I’m trying to add a proxy Maven repository for a Gitlab package repository.

Gitlab repositories require authentication via a custom header.

e.g.

Private-Token: abcdefghijk

I can’t find a way to configure this. Any ideas?


post by unixadmin on Nov 22, 2023

Ivo Schindler

just add the username and the token to the http-authentication username and password field… at least here it works.