Secure Google Cloud Functions http trigger with auth

前端 未结 6 1836
小鲜肉
小鲜肉 2020-12-02 22:33

I am trying out Google Cloud Functions today following this guide: https://cloud.google.com/functions/docs/quickstart

I created a function with an HTTP trigger, and

6条回答
  •  悲&欢浪女
    2020-12-02 22:55

    You should not "leave it open and hope no one knows". You can implement your own security check or you may want to try the Google Function Authorizer module (https://www.npmjs.com/package/google-function-authorizer).

提交回复
热议问题