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

Use OAuth authorization flow in client #314

Closed
robertknight opened this issue Jun 6, 2017 · 0 comments
Closed

Use OAuth authorization flow in client #314

robertknight opened this issue Jun 6, 2017 · 0 comments
Labels

Comments

@robertknight
Copy link
Member

When the OAuth login feature flag flag is enabled for the client, the OAuth authorization endpoint should be used instead of cookie-based authorization.

When this flag is enabled, the client should:

  1. Not use the cookie-authenticated GET /api/token endpoint to retrieve cookies.
  2. Display the authorization page when the user clicks the "Login" button in the client
  3. Exchange the authorization code for an access/refresh token when the user completes login.

Persistence of access/refresh tokens will be part of a separate issue.

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

No branches or pull requests

2 participants