firebase-auth-cloudflare-workers-x509
v2.0.9
Published
Firebase auth library for Cloudflare Workers (forked from firebase-auth-cloudflare-workers and modified to use X.509 certificates)
Downloads
326
Readme
firebase-auth-cloudflare-workers-x509
A fork of https://github.com/Code-Hex/firebase-auth-cloudflare-workers
- Use X.509 certificate endpoints instead of JWK endpoints, as the original firebase-admin also uses X.509. The JWK endpoint presents issues due to the
no-cache
on the public key response for session cookies. - Remove the checks that verify
iat
andauth_time
are not in the future, aligning with the original firebase-admin behavior and preventing errors caused by slight clock skew.
This library uses PKI.js for X.509 certificate parsing.