{"action":"closed","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlab-ci/issues/530","labels_url":"https://api.github.com/repos/gitlabhq/gitlab-ci/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlab-ci/issues/530/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlab-ci/issues/530/events","html_url":"https://github.com/gitlabhq/gitlab-ci/issues/530","id":55169506,"number":530,"title":"Incorrect callback_user_sessions_url","user":{"login":"almeric","id":1922968,"avatar_url":"https://avatars.githubusercontent.com/u/1922968?v=3","gravatar_id":"","url":"https://api.github.com/users/almeric","html_url":"https://github.com/almeric","followers_url":"https://api.github.com/users/almeric/followers","following_url":"https://api.github.com/users/almeric/following{/other_user}","gists_url":"https://api.github.com/users/almeric/gists{/gist_id}","starred_url":"https://api.github.com/users/almeric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almeric/subscriptions","organizations_url":"https://api.github.com/users/almeric/orgs","repos_url":"https://api.github.com/users/almeric/repos","events_url":"https://api.github.com/users/almeric/events{/privacy}","received_events_url":"https://api.github.com/users/almeric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-22T15:52:00Z","updated_at":"2015-01-22T16:17:49Z","closed_at":"2015-01-22T16:17:49Z","body":"I've just upgrade Gitlab-ci to 5.4 ( & gitlab to 7.7) and I'm having problems getting authentication to work.  \r\n  \r\nOur situation:  \r\nWe have both gitlab & gitlab-ci running on an internal dev server:  \r\n- gitlab.dev.lan\r\n- git-ci.dev.lan\r\n\r\nBoth are behind apache using mod_proxy.  \r\n  \r\nWhen I try to login, however, I get the following error in gitlab: `The redirect uri included is not valid.`. This is because the redirect_url GET variable uses `http://` instead of `https://`.  \r\n\r\nIf I go to the OAuth help page at `https://git-ci.dev.lan/help/oauth2` it also mentions http instead of https:  \r\n`In the GitLab admin area under OAuth applications create a new entry. The redirect url should be http://git-ci.dev.lan/user_sessions/callback`  \r\n  \r\nMy application.yml:\r\n\r\n```yaml\r\ndefaults: &defaults\r\n  gitlab_server:\r\n    url: 'http://gitlab.dev.lan/' # Replace with your gitlab server url\r\n    app_id: 'id-from-gitlab'\r\n    app_secret: 'secret-from-gitlab'\r\n\r\n  ## Gitlab CI settings\r\n  gitlab_ci:\r\n    ## Web server settings\r\n    host: localhost\r\n    port: 80\r\n    https: true\r\n```\r\n\r\nAny ideas?"}}