You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered just now that AuthJs and/or Hubspot provider don't implement the renewal of access_tokens !
Hubspot issue an access_token with 1 hour of validity.
But JWT created is valid for one month !
So I think it's mandatory to autodetect if the access_token is expired and do the refresh token flow.
Is it standard that it's not automatically done by this package?
Or should I implement / configure something to allow authJs to autorenew tokens?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I discovered just now that AuthJs and/or Hubspot provider don't implement the renewal of access_tokens !
Hubspot issue an access_token with 1 hour of validity.
But JWT created is valid for one month !
So I think it's mandatory to autodetect if the access_token is expired and do the refresh token flow.
Is it standard that it's not automatically done by this package?
Or should I implement / configure something to allow authJs to autorenew tokens?
Beta Was this translation helpful? Give feedback.
All reactions