thanks...i worked it out...there is a bug, i believe, in gitlab whereby the 
hostname is used for the call back rather than the subdomain of the 
install...frustrating but works now..

adam

On Friday, November 6, 2015 at 7:53:01 PM UTC+13, Achilleas Pipis wrote:
>
> 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/669b23f6-530b-4127-a16c-a0b2e2c451b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to