title: Omniauth isn't catching the initial get "/auth/:provider" request
body: <p>Followed the setup documentation verbatim</p>
  <p>In the gemfile</p>
  <pre><code>gem 'omniauth'
  gem 'omniauthgithub'
  gem 'dotenv-rails'
  </code></pre>
  <p>In config/initializers/omniauth.rb</p>
  <pre><code>Rails.application.config.middleware.use OmniAuth::Builder do
    provider :github, ENV['GITHUB_CLIENT_ID'], ENV['GITHUB_CLIENT_SECRET']
  end
  </code></pre>
  <p>And the link for the user</p>
  <pre><code>&lt;%= link_to &quot;Log in with GitHub!&quot;, &quot;/auth/github&quot; %&gt;
  </code></pre>
  <p>The call back route is set as well</p>
  <pre><code>get '/auth/:provider/callback' =&gt; 'sessions#create'
  </code></pre>
  <p>But it doesn't get that far. When I click on the link there is an immediate routing error</p>
  <p>No route matches [GET] &quot;/auth/github&quot;</p>
  <p>Everything I can find indicates the initial &quot;/auth/:provider&quot; request is intercepted with the Omniauth black-box magic and that all I should have to do is configure the callback route. I've tried this entire setup with Facebook as well just to see if it was something Github specific but no luck. I've wiped the Gemfile.lock and re-ran bundle install just to make sure the gems are all in working order but that didn't change anything. All the other omniauth issues I've found articles about were regarding the callback routing, not the initial get request- which leads me to believe it's either something extremely obvious or very obscure. Please Help!</p>