gitlab-org--gitlab-foss/config
Marin Jankovski 8fa9da49c4 Merge branch 'set-omniauth-full-host' into 'master'
Set OmniAuth full_host parameter to ensure redirect URIs are correct

### What does this MR do?

This MR sets the OmniAuth `full_host` parameter to the configured GitLab URL to ensure the `redirect_uri` parameter is called with the right GitLab host.

### Why was this MR needed?

[OmniAuth attempts to grab the request URI](http://awesomeprogrammer.com/blog/2012/12/09/dealing-with-omniauth-redirect-uri-mismatch-invalid-port-number-gotcha/) and use that. If you set up a reverse proxy that terminates SSL at the Web server layer (e.g. https://gitlab.domain.com), omniauth will use the internal URL (e.g. http://my-host:8080) in its redirect URI unless all the Web server headers are properly set (e.g. `X-Forwarded-Port`, etc.). This is easy to forget or mess up, and it's better to ensure that OmniAuth has the right value from the start.

### What are the relevant issue numbers?

Closes #1967

See merge request !991
2015-07-20 08:45:58 +00:00
..
environments
initializers Merge branch 'set-omniauth-full-host' into 'master' 2015-07-20 08:45:58 +00:00
locales
application.rb Expire Rails cache entries after two weeks 2015-07-15 13:53:40 +02:00
aws.yml.example Add a note that changing example configuration files requires changing omnibus-gitlab. 2015-06-11 15:11:37 +02:00
boot.rb
database.yml.mysql
database.yml.postgresql
environment.rb
gitlab.teatro.yml
gitlab.yml.example Fix a few remaining references to the old Theme names/IDs 2015-06-13 17:58:17 -04:00
newrelic.yml
resque.yml.example Add a note that changing example configuration files requires changing omnibus-gitlab. 2015-06-11 15:11:37 +02:00
routes.rb Add support for destroying project milestones 2015-07-17 06:54:32 -07:00
unicorn.rb.example Add a note that changing example configuration files requires changing omnibus-gitlab. 2015-06-11 15:11:37 +02:00
unicorn.rb.example.development