문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top