-
Notifications
You must be signed in to change notification settings - Fork 68
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
There might be a lag in between auth and contribute resulting in an error #220
Comments
I'll have a closer look next week. My current fix idea is: |
…ng doc to check if exists There can be some lag after running the auth command before the user can be found in firebase. In which case trying to fetch the user will fail with `FirebaseError: Unable to retrieve the authenticated user.`. Instead we can listen and wait for user doc changes. privacy-scaling-explorations#220
Fixed in #226 |
seems like that PR was closed and never merged in? |
I'll reopen and revisit this when I get a chance |
After authenticating for the first time, the backend creates a user document. There might be a small lag in between the two, and if a user runs the contribute command before the document is created, then the cli might throw an error.
The text was updated successfully, but these errors were encountered: