hupili / snsapi

Cross platform middleware for Social Networking Services: Twitter, Facebook, SinaWeibo, Renren, RSS, Email, Sqlite, ... (more coming)
http://snsapi.ie.cuhk.edu.hk
159 stars 53 forks source link

Support oauth.io as one way to perform auth procedure #88

Open hupili opened 10 years ago

hupili commented 10 years ago

oauth.io is a good solution for auth stage. It can also help to solve the redirect URL restriction problem. Our original two-stage model still applies:

Part of fetch_code can be reused.

Problem is that, previous standard auth_second only expects code to be returned by fetch_code. Platforms then requests access_token themselves. Now that the access_token can be returned directly, we need to redesign the model.