-
-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Labels
Description
Basic checks
- I searched existing issues - this hasn't been reported
- I can reproduce this consistently
- This is a RubyLLM bug, not my application code
What's broken?
This could arguably be a Google Auth bug, but nevertheless there seems to be a slightly more robust way to apply the auth headers that works with both vertexi google SA access keys and more complex ADC setups that use IAM instance roles / multi cloud federation with AWS. Wonder if this might fix other things too.
How to reproduce
Not easy, can only repro in a AWS federated to Gcloud env .
Expected behavior
Works w/simple ADC credentials (e.g. service accounts w/access keys) and also w/federated auth (more complex usage of Google Auth)
What actually happened
@authorizer.fetch_access_token!['access_token'] does not populate the bearer token - empty.
Environment
AWS + GCP Iam instance role federated ADC.