diff --git a/examples/simple.rs b/examples/simple.rs index d3d840b..89e339a 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -8,8 +8,11 @@ async fn main() -> Result<(), Box> { .unwrap(); let token_provider = gcp_auth::provider().await?; - let _token = token_provider + let token = token_provider .token(&["https://www.googleapis.com/auth/cloud-platform"]) .await?; + + tracing::info!(email = token_provider.email().await?, token = ?token); + Ok(()) }