Firebase App Check
Adding App Check
With just a few lines of code you can include app check into your website
import { initializeAppCheck, ReCaptchaV3Provider } from 'firebase/app-check';
if (import.meta.env.DEV) {
// @ts-ignore
self.FIREBASE_APPCHECK_DEBUG_TOKEN = true;
}
initializeAppCheck(app, {
provider: new ReCaptchaV3Provider('6LdAIqQlAAAAAC4kq-bag4J-HmAAVe_pu7T75QOf'),
isTokenAutoRefreshEnabled: true
});Full Repo
You can clone the full repo from GitHub.
✏️ Video Summary
Firebase App Check using reCAPTCHA v3: https://codingcat.dev/tutorial/firebase-app-check-web 0:00 - What is App Check? 2:18 - What is Protected? 3:54 - What is reCAPTCHA v3? 5:04 - Demo Setup Vite with Svelte 7:55 - Initialize Firebase 11:27 - Build and Deploy to Firebase 13:16 - Add project settings 14:54 - Include reCAPTCHA 18:48 - Up — all right so what is Firebase app check uh Firebase app check is a security service provided by Google for Firebase uh it's both a mobile and web application development platform uh app check is designed to protect your Firebase project uh this is tough to read through from abuse such as fraudulent access spam and other malicious behavior um so the interesting piece on all of this you're probably...
how this post connects together.
Follow AJ from first principles to production-ready architecture.

