ServiceAccountCredentials
tokens are not renewed automatically
#325
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
Steps to reproduce
roles/run.invoker
to your service accountcredentials = Google::Auth::ServiceAccountCredentials.make_creds(json_key_io: File.open(keyfile), target_audience: service_url)
credentials.apply!({})
credentials.apply!({})
again and call your service.Background
Normally I would not expect the gem to handle the automatic renewal of the token, but since I found that there's already code to renew it automatically I presume this is a bug from the gem.
Thanks in advance!
The text was updated successfully, but these errors were encountered: