-
Notifications
You must be signed in to change notification settings - Fork 123
Add App Check support to Database #1260
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
Conversation
❌ Integration test FAILEDRequested by @a-maurice on commit 9c20916
Add flaky tests to go/fpl-cpp-flake-tracker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The AppCheck part of the changes looks reasonable, I can see that it calls the registered getappchecktoken function, gets the token from the future, and so on.
I'm less familiar with the database logic and so I am unfamiliar with some of the subtlety of what should happen in the cases like one or the other of app check and auth tokens failing. I also couldn't follow the logic from token update to websocketclientimpl getting an updated token.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, though it will be good to have Shawn also review the database logic.
* Add App Check logic to database * Formatting * Fix lint issues * Fix for unit tests * Formatting * Update the WebSocket app check token * Update persistent_connection.cc * Update connection.cc * Update connection.cc * Changes to address feedback, and other fixes * Formatting * Use a const ref string with the function registry * Formatting * Fixes for the App Check Android testapp * Revert "Fixes for the App Check Android testapp" This reverts commit 9583509.
Description
Add App Check support to Realtime Database.
Testing
Tested App Check test manually on desktop, mobile to follow.
Type of Change
Place an
x
the applicable box:Notes
Release Notes
section ofrelease_build_files/readme.md
.