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

Add support for Client Credentials Grant Type to OAuth2 authentication #944

Open
wants to merge 1 commit into
base: 7.x-2.x
Choose a base branch
from

Commits on Sep 5, 2016

  1. Add support for Client Credentials Grant Type to OAuth2 authentication

    OAuth2 support requires that only tokens associated with users may be used with authenticated resources. However, OAuth2 also support a client credentials grant type which
    does not require any user interaction. This is typically used directly by applications to access such API. This does not work with RESTful as once a resource is marked as
    authenticated, there has to be an associated user.
    
    This change allows plugin developers to specify a user which will be used when a client credentials token is used. The user may be specified with the uid or name. The uid
    has the higher priority.
    hussainweb committed Sep 5, 2016
    Configuration menu
    Copy the full SHA
    64fd4e1 View commit details
    Browse the repository at this point in the history