Giter Site home page Giter Site logo

Comments (4)

timmushen avatar timmushen commented on May 28, 2024 1

That did it! Thank you so much for your help.

from firebase-auth-cloudflare-workers.

Code-Hex avatar Code-Hex commented on May 28, 2024

@timmushen Hi! Thanks for asking your question!

But, I cannot understand why this is happened the error from only you provided information. Could you share me your wrangler.toml?

By the way, I appreciate you with sponsoring me! Thank you so much!

from firebase-auth-cloudflare-workers.

timmushen avatar timmushen commented on May 28, 2024

@Code-Hex My pleasure! Thank you for your contributions to the community.

Here's my wrangler.toml. I believe it's an issue with the PUBLIC_JWT_CACHE_KEY... I'm not exactly sure what should go here.

name="hono-minimal"
main="src/index.ts"
compatibility_date = "2022-10-12"
[vars]
PUBLIC_JWK_CACHE_KEY = "https://www.googleapis.com/robot/v1/metadata/x509/*omitted service account email*"
PROJECT_ID = "salonspasites"
kv_namespaces =[{ binding = "salonspaauth", id = "a88b99020b8b44caa75155ba38ee6b66" }]

from firebase-auth-cloudflare-workers.

Code-Hex avatar Code-Hex commented on May 28, 2024

@timmushen I'm sorry for the delay.
Yes, This PUBLIC_JWK_CACHE_KEY means the name of the cache (use Cloudflare KV by default) key.

This package has the ability to automatically retrieve the jwk hosted by Google, and save the jwk file to the cache. This key name is used for that.

This is example for wrangler.toml.

# Specify cache key to store and get public jwk.
PUBLIC_JWK_CACHE_KEY = "public-jwk-cache-key"

from firebase-auth-cloudflare-workers.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.