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

[App Check] wrong urls in gstatic file #6471

Closed
wliumelb opened this issue Jul 23, 2022 · 2 comments · Fixed by #6474
Closed

[App Check] wrong urls in gstatic file #6471

wliumelb opened this issue Jul 23, 2022 · 2 comments · Fixed by #6474

Comments

@wliumelb
Copy link

https://www.gstatic.com/firebasejs/9.9.0/firebase-app-check.js

line 1408: const logger = new Logger('https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js-check');
line 1844: const name = "https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js-check";

I got this error message when using app check for web. The wrong url traces back to the above file.

https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js-check: FirebaseError: AppCheck: Fetch server returned an HTTP error status. HTTP status: 403. (appCheck/fetch-status-error).
    at exchangeToken (client.ts:75:25)
    at async ReCaptchaV3Provider.getToken (providers.ts:78:16)
@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@hsubox76
Copy link
Contributor

I think it's a lack of precision in the search and replace here

.pipe(replace('@firebase/app', FIREBASE_APP_URL))
Will make a PR.

@firebase firebase locked and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants