mongoose-auth icon indicating copy to clipboard operation
mongoose-auth copied to clipboard

no update of expired access token ?

Open ghost opened this issue 14 years ago • 1 comments

It seems that there should be a mechanism to automatically update the access token when it has expired.

For example, when an existing user is logging in, the expiry date could be compared with the current time at the findOrCreateUser step. If the expires date has passed, then the User record should be updated with the new access token gathered during the previously executed getAccessToken step.

ghost avatar Nov 30 '11 01:11 ghost

It's not even clear to me how to do this manually...

afeld avatar Dec 04 '11 05:12 afeld