Method fired at accessToken expired like useGqlTokenExpired
or is using useGqlToken in middleware a good solution?
#485
Labels
enhancement
New feature or request
Your use case
I am using accessToken and refreshToken.This package only has
useGqlToken
so I create a middleware like thisand check if accessToken is expired or refresh a new accessToken with refreshToken in
AuthService.accessToken
I am not use if it is a good way.
The solution you'd like
add some method can fired when token (access token) is expired.
Possible alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: