The installation script will also automatically add the Doorkeeper routes into your app:
Rails.application.routes.draw douse_doorkeeper# your routes belowend
This will mount following routes:
native_oauth_authorization GET /oauth/authorize/native(.:format) doorkeeper/authorizations#showoauth_authorization GET /oauth/authorize(.:format) doorkeeper/authorizations#newDELETE /oauth/authorize(.:format) doorkeeper/authorizations#destroyPOST /oauth/authorize(.:format) doorkeeper/authorizations#createoauth_token POST /oauth/token(.:format) doorkeeper/tokens#createoauth_revoke POST /oauth/revoke(.:format) doorkeeper/tokens#revokeoauth_introspect POST /oauth/introspect(.:format) doorkeeper/tokens#introspectoauth_applications GET /oauth/applications(.:format) doorkeeper/applications#indexPOST /oauth/applications(.:format) doorkeeper/applications#createnew_oauth_application GET /oauth/applications/new(.:format) doorkeeper/applications#newedit_oauth_application GET /oauth/applications/:id/edit(.:format) doorkeeper/applications#editoauth_application GET /oauth/applications/:id(.:format) doorkeeper/applications#showPATCH /oauth/applications/:id(.:format) doorkeeper/applications#updatePUT /oauth/applications/:id(.:format) doorkeeper/applications#updateDELETE /oauth/applications/:id(.:format) doorkeeper/applications#destroyoauth_authorized_applications GET /oauth/authorized_applications(.:format) doorkeeper/authorized_applications#indexoauth_authorized_application DELETE /oauth/authorized_applications/:id(.:format) doorkeeper/authorized_applications#destroyoauth_token_info GET /oauth/token/info(.:format) doorkeeper/token_info#show
At this point on the guide, we're not going to change the routes. For more information on how to customize them, check out this page on the wiki.