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:
Thanks for your work on this!
Small thing -- it looks like the
grant_date
has been encoded in theaccess_token
so that implementers can expire or deny use of a given access token according to their needs. However, thegrant_date
is being parsed but not passed to theaccess_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?