Details
-
Type:
Bug
-
Status: In Progress (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: gitlab-oauth-plugin
-
Labels:None
-
Similar Issues:
Description
Hello,
I've installed this plugin and configured an application in my user's applications' panel (note that I'm using a hosted version of GitLab, not the EE). Then, I've configured following values in the plugin:
(ID and secret is obviously truncated). However, when I click on the Login page, it correctly redirects me to GitLab, asks for the authorization, but when it redirects me back to Jenkins, I'm still not logged.
My environment is publicly open, but the server itself is behind a load balancer which redirects requests from https to http. Would that be the issue?
Best,
Rafal
We couldn't login anymore as well. Changing the java-gitlab-api package from version 1.2.6 to 4.0.0 fixed the issue for us. Obviously the old - and long-time deprecated - API endpoint 'api/v3' isn't working anymore to fetch additional user information against GitLab 10.7.
There is a coding standard issue remaining to be fixed though to pass findbugs testing:
Boxed value is unboxed and then immediately reboxed in org.jenkinsci.plugins.GitLabAuthenticationToken$3.call() [org.jenkinsci.plugins.GitLabAuthenticationToken$3] At GitLabAuthenticationToken.java:[line 271] BX_UNBOXING_IMMEDIATELY_REBOXED