The url built for oauth redirect could be wrong in presence of a reverse proxy behind jenkins.
Actually the redirect url is built from the request url but Jenkins.getInstance().getRootUrl() should be used instead.
A PR has been submitted
https://github.com/jenkinsci/gitlab-oauth-plugin/pull/15