简体   繁体   中英

Firebase Invalid or expired token how can ı solve this?

I am using Firebase to verify User but when i send to token front-end to backend ı take a error. I research little and most people say is your machine time problem. And I Checked My country time is İstanbul(GMT+3) Lets say 14:42 but firebase clock is for auth 11:42 there is 3 hours delay but firebase token valid only 1 hour.When i try the my local machine time the same as firebase but also ı take same error ı couldn find any solution aynone help? My react is 100% is true not related the code issue.

enter image description here enter image description here在此处输入图像描述

I suggest you to check if your backend and front-end are pointing to the same firebase app, because you're talking about a token expiration error that could not happen because this GMT time from firebase is equivalent to your GMT+3 time (see image here) .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM