firebase / firebase-admin-java

Firebase Admin Java SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
545 stars 270 forks source link

Firebase Admin Java SDK should bypass App Check for RTDB operations #704

Open lahirumaramba opened 2 years ago

lahirumaramba commented 2 years ago

Moved from: https://github.com/firebase/firebase-android-sdk/issues/3952

It seems like the Admin SDK does not currently bypass App Check see: https://stackoverflow.com/questions/73105469/firebase-admins-sdk-and-app-check-safetynet

We might need a fix similar to https://github.com/firebase/firebase-js-sdk/commit/99414a51ca5cd25f69a96e4c9949ad5b84e3f64e#diff-ddbaa9e762a6010e5a0aa0c8048d48deea15594f14caa3d51e68b283f36e489fR170 in the Java SDK as well. Creating this issue to continue the investigation.

renaudcerrato commented 1 year ago

Any update on this? @lahirumaramba how did you worked around it?

Currently unable to query the RTDB using the Java Admin SDK!

[pc_0] Firebase Database connection was forcefully killed by the server. Will not attempt reconnect. Reason: Missing appcheck token"

renaudcerrato commented 1 year ago

Hey @weixifan, any update on this? It looks like you're only focusing efforts on the NodeJS SDK... Pretty frustrated :/

outdoorapps commented 9 months ago

Still having the problem as of Feb 13, 2024. It is still not fixed.