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.

Gems

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

That’s all.

System

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!

https://www.linkedin.com/in/tomoharu-tsutsumi-56051a126/

--

--

Tomoharu Tsutsumi

Senior Software Engineer at two industry-leading startups ( Go | Ruby | TypeScript | JavaScript | Gin | Echo | Rails | React | Redux | Next)