3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Firebase Admin SDKでverify_id_tokenで例外になる

Posted at

Firebase Admin SDKのauth.verify_id_token()で以下の例外が発生した。

Token used too early, 1655214908 < 1655214912. Check that your computer's clock is set correctly.

以下にclockの問題だという記述があるが、Firebase Admin SDKには緩和のパラメータclock_skew_in_secondsがない。
https://stackoverflow.com/questions/71915309/token-used-too-early-error-thrown-by-firebase-admin-auths-verify-id-token-metho

単にPCの時刻を同期したら解決した。
Windowsでは [今すぐ同期] ボタン

image.png

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?