Question

I want to extend my website to support OAuth so that third party applications can access data and perform actions on behalf of the website user. How should I go about it?

Basically I would like to know how to go about generating access tokens and the database setup that should be done.

Was it helpful?

Solution

First you should choose which authorization schema you will implement on your site. In your case it could be:

  1. Authorization Code Grant
  2. Implicit Grant

Then taking in account a programming language and framework you can make your choice.

In any case you'll have to configure some kind of routing for OAuth urls and redirects and a persistent storage.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top