tame-oauth icon indicating copy to clipboard operation
tame-oauth copied to clipboard

Cloud Run - Generation1 support

Open drandell opened this issue 6 months ago • 0 comments

Is your feature request related to a problem? Please describe. Reading the sys directory is not supported under cloud run v1. Therefore when running on cloud run the default_provider function returns the expect from the example. Under cloud run v2 it works as expected returning google compute engine.

Describe the solution you'd like Have a fallback option to try and call the metadata server directly?

Additional context Google docs Using examples/default_creds_id_token.rs and the default_provider function

drandell avatar Aug 05 '24 19:08 drandell