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

Failed to set access_token as attribute #43

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

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