-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add client authentication (xAuth) for trusted clients (#28).
This adds an optional `client_auth` event that is emitted whenever an access token request is made with grant_type=password. It is meant to be used only for client-side applications that can be trusted to handle a user's credentials directly. For example, this will generate an access token in one shot: $ curl -XPOST "http://1:1secret@localhost:8081/oauth/access_token" \ -d "grant_type=password&username=guest&password=leet" In addition, access token requests may now include client_id and client_secret as the username and password, respectively, in the HTTP Authorization header using Basic authentication.
- Loading branch information
Showing
3 changed files
with
96 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters