Developing an original API function with doorkeeper and oauth2.
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.