title: GitLab Community Edition with Google OAuth does not allow main GitLab login page to appear can only use Google to login
body: <p>We have Google OAuth setup in our GitLab CE 8.17.2 instance.  Our organization's users are all Google Accounts so if was an easy decision to set up Google OAuth.</p>
  
  <p>Google OAuth is the <em>only</em> OAuth provider we have set.</p>
  
  <p>We have sent email to external users to sign up for an account in our GitLab CE instance.  Before we turned on/configured OAuth, these external users would see the main GitLab login/register page.</p>
  
  <p>When that external user attempts to access our site, they are presented with the Google Login Page and no way to get around it to have the main Login/Register page appear for GitLab.  There is no "Skip" or "Back" or "Cancel" links to get around this Google login page.  The external user would have to create a Google account just to register which is confusing to me.  </p>
  
  <p>We have had external users try different browsers with the cache completely cleared (history, passwords, auto complete forms, etc.) -- Firefox, IE, Chrome -- and they still get this Google login page:</p>
  
  <p><a href="https://i.stack.imgur.com/EOYIw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EOYIw.png" alt="enter image description here"></a></p>
  
  <p>I thought that the main GitLab Login/Register page would appear where you can login or register, and the Google logo would be visible to use as the authenticator.  From how it works for us, you have to have a Google Account to access and cannot get around the Google login page.</p>
  
  <p>Here are the gitlab.rb OAuth settings:</p>
  
  <pre><code>## For setting up omniauth
  ## see https://docs.gitlab.com/ce/integration/omniauth.html
  gitlab_rails['omniauth_enabled'] = true
  gitlab_rails['omniauth_allow_single_sign_on'] = ['google_oauth2']
  gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'google_oauth2'
  gitlab_rails['omniauth_block_auto_created_users'] = false
  gitlab_rails['omniauth_auto_link_ldap_user'] = true
  # gitlab_rails['omniauth_auto_link_saml_user'] = false
  # gitlab_rails['omniauth_external_providers'] = ['google_oauth2']
  gitlab_rails['omniauth_providers'] = [
    {
      "name" =&gt; "google_oauth2",
      "app_id" =&gt; "(the app id)",
      "app_secret" =&gt; "(the app secret)",
      "args" =&gt; { "access_type" =&gt; "offline", "approval_prompt" =&gt; "" }
    }
  ]
  </code></pre>
  
  <p>If there is a setting we are missing, please let us know.  If not, I get the feeling Google OAuth may not work for us.</p>