Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@angular/fire/app-check 18.0.1 app not registered (bad request) #3625

Open
isaacmenaf opened this issue Feb 19, 2025 · 4 comments
Open

@angular/fire/app-check 18.0.1 app not registered (bad request) #3625

isaacmenaf opened this issue Feb 19, 2025 · 4 comments

Comments

@isaacmenaf
Copy link

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)

Image

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"

@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@isaacmenaf
Copy link
Author

Angular:
18.2.0

Firebase:
13.31.1

AngularFire:
18.0.1

@mkdavinci
Copy link

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.

@isaacmenaf
Copy link
Author

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants