On 11/05/2015 09:36 AM, Adam Hyde wrote:
> hi
> 
> I'm running Gitlab 8.1.2 CE and trying to get oauth to work with github.
> gitlab.rb set up as follows:
> 
>  gitlab_rails['omniauth_providers'] = [
>    {
>      "name" => "github",
>      "app_id" => "xx",
>      "app_secret" => "yy",
>      "url" => "https://github.com/";,
>      "args" => { "scope" => "user:email" }
>    }
>  ]
> 
> When I restart the server (running on apache) I get the following when
> trying to log in using github:
> 
> Could not authenticate you from GitHub because "The redirect uri must
> match the registered callback url for this application.".
> 
> 
> Callback is set in github as http://[my_url]/users/auth/github/callback/
> 
> Im not using https.
> 
> Any ideas? 
> 
> adam
> 

The callback in GitHub should be just the url, try
http://[my_url]

-- 
Blog: http://axilleas.me

-- 
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/563C4E47.1060601%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to