Hi, I have installed gitlab 7.8.4 on a server behind pound which terminates 
https connections for me.

How do I configure gitlab to always assume that it is accessed via https 
without letting it also handle the https connection?

In practice I see the following problem:

I'm adding github authentication to my gitlab instance and try to log into 
gitlab using my github account. This works fine as long as everything is 
over http. But if I use the https address to my gitlab instance, then the 
authentication with github will fail.

The problem seems to be that gitlab passes the http address to github like 
this:

https://github.com/login/oauth/authorize?response_type=code&client_id=[...]&redirect_uri=http%3A%2F%2Fgitlab.myurl.com%2Fusers%2Fauth%2Fgithub%2Fcallback&state=[...]&scope=user%3Aemail
 
<javascript:void(0)>

And then github responds with:

/?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23redirect-uri-mismatch&state=[...]

I never want to access my gitlab instance with http-only. How do I force 
gitlab to report the https:// url to github without it handling https 
itself?
 

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/730067d1-65e3-4650-a2e5-6376cbb0b118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to