-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
Description
Description:
Version:
"intuit-oauth": "^4.0.0",
Node
10.24
When I use existing tokens from the storage and validate the token before accessing other methods of QB
method: OAuthClient.isAccessTokenValid() returns always true.
{ token_type: 'bearer',
access_token: xxx',
expires_in: 3600,
refresh_token: 'xxx',
x_refresh_token_expires_in: 0,
realmId: 'yy',
id_token: '',
createdAt: 1631695486623 }
On this response I see that createdAt timestamp is always time when I call the method OAuthClient.token.getToken()
which I think is wrong because it should be the time when token is created in order to make the validation for expired token.
OAuthClient.token.getToken() this method is broken.
Reactions are currently unavailable