Didn't actually deploy the correct change that I tested locally
@@ -35,7 +35,7 @@ func generateAdminToken(ctx context.Context,
req *api.GenerateAdminTokenRequest, connFactory *secureconn.Factory,
authNAddress, authZAddress string) (*api.GenerateAdminTokenResponse, error) {
- ctx = auth_context.NewContext(ctx, []string{"tls:service:deployment-service:internal"}, []string{}, "", "", "v2.1")
+ ctx = auth_context.NewOutgoingContext(auth_context.NewContext(ctx, []string{"tls:service:deployment-service:internal"}, []string{}, "", "", "v2.1"))
authnConnection, err := connFactory.DialContext(
ctx,
"authn-service",
