From 02f343255bc5835f3a6475ecc4894c1f8d36657d Mon Sep 17 00:00:00 2001 From: Jeff Huleatt <3759507+jhuleatt@users.noreply.github.com> Date: Wed, 12 Feb 2025 09:54:56 -0500 Subject: [PATCH] Remove authPolicy --- Node/quickstarts/genkit-helloworld/functions/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Node/quickstarts/genkit-helloworld/functions/index.js b/Node/quickstarts/genkit-helloworld/functions/index.js index ba7c369d32..c6b948f8e3 100644 --- a/Node/quickstarts/genkit-helloworld/functions/index.js +++ b/Node/quickstarts/genkit-helloworld/functions/index.js @@ -72,10 +72,6 @@ exports.tellJoke = onCallGenkit({ // Bind the Gemini API key secret parameter to the function. secrets: [apiKey], // [END bind-secrets] - // [START auth-policy] - // Protect your endpoint with authPolicy. - authPolicy: (auth) => !!auth?.token.email_verified, - // [END auth-policy] }, // Pass in the genkit flow. jokeTeller,