Developing an original API function with doorkeeper and oauth2.

Tomoharu Tsutsumi
1 min readMay 4, 2021


I have had an opportunity to develop an API login function between two web services. The way to do that is a little complex and demanding, so I’ve decided to take a not about necessary knowledge.


This is a gem by which you can develop an API feature easily. Moreover, I used this gem for oauth.

That’s all.


With these gems, user can be given a permission, which means an access token, from an authorization server. This system is defined as RFC6749. The details is here.

Wrap up

You can make an API feature with the knowledge above. I hope that this information would be a help to you.

My LinkedIn account is below! Please contact me!



Tomoharu Tsutsumi

Software Engineer with 4 + years of professional experience.