From 8843661b1ad5bb2527d3ccb276872ab39655089d Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 28 Jan 2025 13:54:39 +0100 Subject: [PATCH] Fix references of the old java token vendor. (#478) For the 2nd, update the link to the new codebase. --- docs/concepts/device_identity.md | 2 +- src/go/cmd/token-vendor/app/tokenvendor.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/device_identity.md b/docs/concepts/device_identity.md index b8ff4ae7..3b8c13f3 100644 --- a/docs/concepts/device_identity.md +++ b/docs/concepts/device_identity.md @@ -17,7 +17,7 @@ The following components are part of the whole setup: The following chapters explain the flows in more detail. Further information about the Token Vendor can be found in its -[docs](https://github.com/googlecloudrobotics/core/tree/master/src/java/com/cloudrobotics/tokenvendor/README.md) +[docs](https://github.com/googlecloudrobotics/core/tree/master/src/go/cmd/token-vendor/README.md) ## Setup diff --git a/src/go/cmd/token-vendor/app/tokenvendor.go b/src/go/cmd/token-vendor/app/tokenvendor.go index e6f1a478..150eb9da 100644 --- a/src/go/cmd/token-vendor/app/tokenvendor.go +++ b/src/go/cmd/token-vendor/app/tokenvendor.go @@ -139,7 +139,7 @@ func (tv *TokenVendor) getOAuth2Token(ctx context.Context, jwtk string) (*tokens return cloudToken, nil } -// acceptedAudience validates JWT audience as defined by Java-based token vendor +// acceptedAudience validates JWT audience as defined by the token vendor // // `aud` is the value of the audience key from the JWT and `accAud` the configured // accepted audience of the token vendor.