I have tried to configure GitHub authentication too with existing LDAP and 
standard authentication.The following is the gitlab.rb file and executed 
gitlab reconfigure command successfully 

 gitlab_rails['omniauth_enabled'] = true
 gitlab_rails['omniauth_allow_single_sign_on'] = false
# gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'saml'
 gitlab_rails['omniauth_block_auto_created_users'] = true
# gitlab_rails['omniauth_auto_link_ldap_user'] = false
 gitlab_rails['omniauth_providers'] = [
   {
     "name" => "github",
     "app_id" => "*****************",
     "app_secret" => "******************************************",
        "url" => "https://github.com/";,
      "args" => { "scope" => "user:email" }
#     "args" => { "access_type" => "offline", "approval_prompt" => "" }
   }
 ]

I can see gitlab logo to in my gitlab login page and when i click on it, it 
will go into github authentication page successful github authentication it 
will go into gitlab login page with the following warning
"Signing in using your GitHub account without a pre-existing GitLab account 
is not allowed."
How can I solve it? 

-- 
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/bd8fa984-346e-4ad9-b18a-73bed91faff3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to