Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hupili opened this issue Jul 29, 2013 · 0 comments
Open

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

hupili opened this issue Jul 29, 2013 · 0 comments

Comments

@hupili
Copy link
Owner

hupili commented Jul 29, 2013

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:

  • auth_first, prompt up browser and ask user to go to oauth.io with the pub key.
  • auth_second, receive the response from a lightweight httpd in the backend.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant