Skip to content

Conversation

@Jaidan
Copy link

@Jaidan Jaidan commented Apr 16, 2013

The client_credentials grant_types fails due to the access_token being incorrectly referenced.

As an important aside, I wouldn't pull this into any version just yet. As implemented the client_credentials grant_type is a security mess and should never be implemented as it is here. As is noted here:

http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-4.4

The client credentials grant type MUST only be used by confidential
clients.

This is highly important. As this basically allows client to self authorize. There are situations where this can be a good thing, but they are pretty rare.

Some thought I will likely be needed to decide an appropriate way to to protect this version token grant_type, in my case I will be using a custom client model and a flag, but that may not be suitable for all cases.

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

Successfully merging this pull request may close these issues.

1 participant