title: How to do Application-only authentication in doorkeeper (oauth2)
body: <p>Twitter has application-only authentication for their api: <a href="https://dev.twitter.com/docs/auth/application-only-auth" rel="nofollow">https://dev.twitter.com/docs/auth/application-only-auth</a></p>
  
  <blockquote>
    <p>Twitter offers applications the ability to issue authenticated requests on behalf of the application itself (as opposed to on behalf of a specific user)</p>
  </blockquote>
  
  <p>I want to do the same with doorkeeper in Rails, but I'm not sure how to do that. It seems to be only possible to authenticate users via a callback url, but how can I access my API using the applications context (only by using the app ID and app secret)</p>
  
  <p>My first idea was to do a password credentials login with the app's ID and secret to obtain an access token that belongs to the application. Is this a bad idea? Is it safe from a security point of view? I am wondering because the app's secret is saved as plain text in the db, which is a no go for user authentication.</p>