-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
In README code examples show:
const authResponse = await oauthClient.createToken(..); // or .refresh() or .refreshUsingToken(..)
console.log('Token is', authResponse.json)Instead it should be:
await oauthClient.createToken(..); // or .refresh() or .refreshUsingToken(..)
console.log('Token is', oauthToken.token.getToken())Reason is in 1st case createdAt is missing, and this is a big issue if you save that json without it
btw I think you should rather save only 1 field: expireAt field rather than 2: createdAt + expire_in
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels