title: Omniauth-saml in Rails: Route not found error for /auth/saml/metadata
body: <p>I have a routing question in Rails (3.2.1).</p>
  
  <p>I am using omniauth-saml for authentication (<a href="https://github.com/PracticallyGreen/omniauth-saml" rel="nofollow">https://github.com/PracticallyGreen/omniauth-saml</a>). The doc says:</p>
  
  <blockquote>
    <p>"The service provider metadata used to ease configuration of the SAML SP in the IdP can be retrieved from <a href="http://example.com/auth/saml/metadata" rel="nofollow">http://example.com/auth/saml/metadata</a>. Send this URL to the administrator of the IdP."</p>
  </blockquote>
  
  <p>When I go to myserver.com/auth/saml/metadata, I get a routing error (No route matches). The only relevant route I have in routes.rb is /auth/:provider/callback. What route do I need to add to be able to access the metadata URL?</p>
  
  <p>The authentication itself is working as expected. I am only having problems with the metadata.</p>
  
  <p>Thanks a lot!</p>