yutak23 / firebase-trial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firebase-trial

以下を検証。

  • firebase emulators を使った開発

    • auth
    • functions
    • firestore
  • firebase deploy でインフラ構築

システム構成

  • Hosting
    Cloudflare Pages

  • Access Management
    Cloudflare Access(Cloudflare Zero Trust)

本番リリース時の対応

  • Cloudflare Pages のドメインを Firebase Authentication の承認済みのドメインに追加
  • App Check でのエラー解消のために、Cloudflare Pages のドメインを reCAPTCHA のドメインに追加
  • Firebase Cloud Functions の...has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.エラー解消のために、Google Clould Functions のアクセス権限allUserを追加
    • App Check あり前提の対応

About


Languages

Language:Vue 66.0%Language:JavaScript 33.0%Language:HTML 0.6%Language:SCSS 0.4%