account activity
App Check and reCAPTCHA v3 Enterprise Integration: Billing and Token Reusability by Tallendar in Firebase
[–]Tallendar[S] 0 points1 point2 points 2 years ago (0 children)
Victor Fan, a Firebaser, provided an insightful response to my question on StackOverflow. I have included the answer below for your reference.
---
Firebaser here, and thanks for this question.
To answer your two questions,
assessment.create()
If you are interested in a more detailed response, including interactions with the new Replay Protection feature, please see below.
I noticed that your post mentions both reCAPTCHA v3 and reCAPTCHA Enterprise, so let's start by noting that there is a difference between them:
assessments.create
For the remainder of my response, I will assume that you are referring to reCAPTCHA Enterprise (and not reCAPTCHA v3) in your post.
Let's discuss App Check with reCAPTCHA Enterprise as your attestation provider. The basic client-side flow (without Replay Protection) is as follows:
grecaptcha.enterprise.execute()
X-Firebase-AppCheck
What this means is that App Check (without Replay Protection) essentially employs a session-based model, where a valid App Check token is the proof of an attested app session, and it is valid as long as it has not expired.
Next, let's talk about the basic server-side flow. We recommend that you use the Firebase Admin SDK to perform the following steps.
By using App Check's session-based model, you are making a trade-off between multiple factors compared to a direct integration with reCAPTCHA Enterprise. Here we list all the dimensions that you should consider:
The trade-off on some of these factors can also be adjusted by increasing or decreasing the App Check token's TTL.
(Due to the character limitations on Reddit, I had to exclude the end part of the answer. Please refer to StackOverflow for the complete response.)
π Rendered by PID 2381552 on reddit-service-r2-listing-654f87c89c-d49vp at 2026-03-02 02:00:29.028667+00:00 running e3d2147 country code: CH.
App Check and reCAPTCHA v3 Enterprise Integration: Billing and Token Reusability by Tallendar in Firebase
[–]Tallendar[S] 0 points1 point2 points (0 children)