Custom headers for proxy maven repository to Gitlab package repo?

I’m trying to add a proxy Maven repository for a Gitlab package repository.
Gitlab repositories require authentication via a custom header.


Private-Token: abcdefghijk

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

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