@angular/fire/app-check 18.0.1 app not registered (bad request)
isaacmenaf opened this issue · 4 comments
Using angular firebase app-check 18.0.1 I'm seeing a lot of requests returning
POST https://content-firebaseappcheck.googleapis.com/v1/projects/weddly-stg/apps…12e7c:exchangeRecaptchaV3Token?key= 400 (Bad Request)
{
"error": {
"code": 400,
"message": "App not registered: ",
"status": "FAILED_PRECONDITION"
}
}
Even when my application (same appid) is registered correctly in the firebase appcheck console (attached)
Setup:
import { initializeAppCheck, provideAppCheck, ReCaptchaV3Provider } from "@angular/fire/app-check";
provideAppCheck(() => {
const provider = new ReCaptchaV3Provider(environment.appCheckKey);
return initializeAppCheck(getApp(), { provider, isTokenAutoRefreshEnabled: true });
}),
"@angular/fire": "^18.0.1"
This issue does not seem to follow the issue template. Make sure you provide all the required information.
Angular:
18.2.0
Firebase:
13.31.1
AngularFire:
18.0.1
I am also experiencing this, I find when I try to do anything with Recaptcha and @angular/fire their starts to be 403 returns when requesting AppCheck. I have messed with the app.config.ts quite a bit and it doesn't seem to matter. I am unsure if I just used the firebase library if the issue would persist.
I'm comming from trying the same with firebase library and I'm experience the same issue, I think I will create a new incident for firebase itself, let me know if you had tried using directly with firebase library. Thank you !