there is an issue where searcher client errors with Error: 7 PERMISSION_DENIED: Client refresh_token has expired, please generate a new auth challenge to obtain a set of new access tokens.
added refreshToken.isExpired() check to injectAccessToken. if true, run the fullAuth flow to obtain a new one
full auth somehow sets the refresh token to the response auth token. changed that to match
there is an issue where searcher client errors with
Error: 7 PERMISSION_DENIED: Client refresh_token has expired, please generate a new auth challenge to obtain a set of new access tokens.
refreshToken.isExpired()
check toinjectAccessToken
. if true, run thefullAuth
flow to obtain a new onemaybe this fixes #10 too