-
Notifications
You must be signed in to change notification settings - Fork 390
Firebase fails to fetch a valid Google OAuth2 access token on Windows #436
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
Comments
I found a few problems with this issue:
|
Possible causes include:
Please use Stackoverflow if you wish to follow up with further questions. |
@hiranya911 it worked. Thank you! |
@hiranya911 How did you fix the clock sync error? |
@hiranya911 How did you solve clock sync error? Can u provide solution for me Thanks |
Not sure how to fix it for Windows. On Linux you would usually use a service like ntp. |
@Andrewvanbeek @meet02 on Windows you just update the OS clock. Something like update current time. I am using dual boot, and every time I log in my Linux distro the windows clock gets desyncronised |
On windows, I was able to fix the issue by navigating to **change date and time settings > Internet time > change settings > Update now ** with the synchronize with the internet server checkbox checked. |
i am experiencing the same issue but when i am running my Nodejs application in a docker container.
clocks is synced, is there anyone with the same issue as me ? |
Still facing this issue... wish you guys had some guidance because I've already spent a few hours on this :/ |
I am having this issue too and im not having a clue of where to start to solve it. |
For those who are facing this issue, I actually found out that this lib is just for node environments, that is, if you have an frontend app (like my case, a reactjs web app) it won't work. I figured I will probably have to use firebase functions get what I want done (which is deleting a user from firebase auth by UID). If anyone has anything to add or confirm my thoughts I would really appreciate as well... |
My problem was solved sending the data as a miltipart form instead of a json. Forcing us to not use json in node... Wtf. |
@DiegoMGar Can you elaborate on what you changed to a multipart form? This issue just crept up and I wasn't having problems in the past. Any data you can provide will be extremely helpful! |
Just for reference in case someone is looking for a solution: One of my students was having this issue with Windows (WSL). If it's actually out of sync try this: ~$ sudo hwclock -s Hope it helps 👍 |
[REQUIRED] Step 3: Describe the problem
I built a script to download data from the Realtime database, on Mac. Here things work fine. But when tested the script on Windows I get the following error:
Steps to reproduce:
Build a script that access data from Realtime database, using
firebase-admin
. Run it on Windows.Relevant Code:
The text was updated successfully, but these errors were encountered: