title: A generic omniauth provider/strategy for devise
body: <p>I implemented an omniauth strategy as a gem but realized that it is just a basic implementation of the oauth.  </p>
  
  <p>I configure in devise. rb like this:</p>
  
  <pre><code>config.omniauth :mystrategy, 'key', 'secret'
  </code></pre>
  
  <p>Is there an easier way to do this in devise without creating the gem, could I just configure it in a conifg block like</p>
  
  <pre><code>    config.omniauth :mystrategy do |strategy|
            strategy.key ='blah'
            strategy.authorize_path = 'blah'
      end
  </code></pre>
  
  <p>Can you show me an example or point me in the right direction?  Everything I saw online was about building it as a strategy gem.</p>