ammmir/node-oauth2-provider — Issue #5: Pass `grant_date` to `access_token` callback?
Author: yhahn
Created: 2011-12-09 15:52:35+00:00
State: open

Thanks for your work on this!

Small thing -- it looks like the `grant_date` has been encoded in the `access_token` so that implementers can expire or deny use of a given access token according to their needs. However, the `grant_date` is being parsed but not passed to the `access_token` callback here:

https://github.com/ammmir/node-oauth2-provider/blob/master/index.js#L53

I'm guessing this was just overlooked and needs a quick fix, but is there some other reason for withholding this from the callback?