-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Implement authenticated access for Public Clients (Implicit Code Grant) #4183
Comments
Is the error meant to still be a |
As opposed to a |
Yes, according to the RFC (http://tools.ietf.org/html/rfc6749#section-4.2.2) status code
|
I'm closing all OAuth and most API issues temporarily with the RE: OAuth, for the next 2-3 months we'll be implementing an official Ghost OAuth login system, providing global access to all Ghost blogs with a single login. We'll be opening issues around this system soon, and I don't want to cause confusion with OAuth for the API. JSON API Overhaul & OAuth access are currently scheduled next on the roadmap |
This belongs to the OAuth Epic: #4004 - please read this for the big picture of what this issue is for :)
In order to allow public clients to make authenticated requests to the Ghost API we need to implement the
Implicit Code Grant
(RFC 6749 4.2) flow:response_type
: 'token'client_id
: client_id generated by Ghoststate
: random value to prevent csrfredirect_uri
: redirect uri must exactly match one of the values listed for this clientscope
: tbdclient_id
andredirect_uri
Success redirect:
Error redirect:
access_token
and ensure that thestate
parameter matches the one sent to the server.An example on how to implement the implicit code grant flow can be found at https://github.com/jaredhanson/oauth2orize.
The text was updated successfully, but these errors were encountered: