DEV Community

Cover image for Firebase App Check
Alex Patterson for CodingCatDev

Posted on • Originally published at codingcat.dev

1

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
});
Enter fullscreen mode Exit fullscreen mode

Full Repo

You can clone the full repo from GitHub.

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay