googleapis / googleapis/google-cloud-node
revokeCredentials returns an error for invalid token
Open
library: google-cloud-node-core
type: feature request
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
As per the [docs](https://github.com/googleapis/google-auth-library-nodejs#oauth2)
> This library comes with an OAuth2 client that allows you to retrieve an access token and refreshes the token and retry the request seamlessly if you also provide an expiry_date and the token is expired.
Unlike all other requests, the library doesn't refresh the token for `revokeCredentials`. It also doesn't retry the request.
Contributor guide
Assessment
This issue has not been assessed yet.