model.getClient() allows passing in null clientSecret (search for client is performed in this case based solely on clientId)
Fix dynamodb example

saveAuthCode function's error
Merge pull request #82 from stanzhai/master

Fix dynamodb example
Merge pull request #79 from jonathankarsh/model-getClient-without-clientSecret

model.getClient() allows passing in null clientSecret (search for client...
Fix authCodeGrant bug.

Make the request redirectUri as the client's redirectUri.
This is correct when client.redirectUri is an Array type.
Update authCodeGrant.js

Move `client.redirectUri = self.redirectUri;` inside the block where it checks for an array (e.g. line 117) and also remove the comment.
Merge pull request #84 from stanzhai/master

Bug: Explicitly set redirect_uri when client has multiple redirect_uri's
2.2.2
memory model typo fixing
Merge pull request #87 from artemabalmasov/master

Fix: memory model typo
Fix in mongo model.getUser to only return the _id. Prevents full user object from being assigned to userId parameter in save methods.

Style changes to conform with module standards.

Adding return.
Merge pull request #88 from crimsonkissaki/master

Fix mongo example (only return user._id from model.getUser)
Update Readme "extendedGrant" function signature

The `extendedGrant` function signature in the Readme documentation does not reflect the implementation in `grant.js`:
```
function useExtendedGrant (done) {
  var self = this;
  this.model.extendedGrant(this.grantType, this.req,
      function (err, supported, user) {
```

I updated the docs to include the first parameter, `grantType`.

Cheers,
Steffen
Merge pull request #89 from bra1n/patch-1

Update Readme "extendedGrant" function signature
Transition module name to "oauth2-server"

Closes #91
Updated Readme.md

Updated Readme.md with documentation for the 'getUserFromClient' model function
added 'state' to authorization response as required by RFC 6749 (section 4.1.2) + added test
Merge pull request #93 from alonl/master

Added 'state' to authorization response as required by RFC 6749
refactor implicit grant as per tseddon's comments
merge with tseddon's latest master