Skip to content

Commit c4fde45

Browse files
authored
Remove authPolicy (#1192)
1 parent 0dcd337 commit c4fde45

File tree

1 file changed

+0
-4
lines changed
  • Node/quickstarts/genkit-helloworld/functions

1 file changed

+0
-4
lines changed

Node/quickstarts/genkit-helloworld/functions/index.js

-4
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ exports.tellJoke = onCallGenkit({
7272
// Bind the Gemini API key secret parameter to the function.
7373
secrets: [apiKey],
7474
// [END bind-secrets]
75-
// [START auth-policy]
76-
// Protect your endpoint with authPolicy.
77-
authPolicy: (auth) => !!auth?.token.email_verified,
78-
// [END auth-policy]
7975
},
8076
// Pass in the genkit flow.
8177
jokeTeller,

0 commit comments

Comments
 (0)