jenkins-gitlab-merge-request-builder-plugin
jenkins-gitlab-merge-request-builder-plugin copied to clipboard
simple authentication support
Hello, our gitlab server is setup with simple http auth.
I am attempting to use this plugin via the https://username:password@url option, which causes a stack trace. Is there a different way I should try?
Thanks for your time.
-Shawn
Hi Shawn!
Can you elaborate a little bit more on your setup? What version of Gitlab are you using? Currently, the plugin hasn't been tested against basic auth so I'm not sure that it'll work out of the box.
Hi Tim, thank you for the response.
We are using nginx basic authentication:
auth_basic "Restricted";
auth_basic_user_file htpasswd.users;
or if apache:
AuthName "Restricted"
AuthType Basic
AuthUserFile /some/dir/htpasswd.users
Require valid-user
The gitlab version is 5.2.1 (26ed59f).
The plugin doesn't currently work with basic auth and causes the above linked stack trace, but I am happy to be a guinea pig if it is something you are willing to add support for. This could be an extra setup option somewhere in the plugin, or perhaps the 'https://username:password@host:port/path' may work?
Have a good day.
-Shawn
Hi @shawn-sterling - apologies for missing your response to this issue!
Is this still an issue for you? We should be able to support basic auth.
Hi Tim, yes it is still an issue.
Take it easy.
-Shawn