Replies: 1 comment 1 reply
-
Thanks for reporting this issue. Please update the library to v1.3.6. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm migrating from the deprecated library Firebase-ESP-Client to this new one. In the old library when it used only a refresh token when an empty ID Token a refresh of the token was forced immediately:
https://github.com/mobizt/Firebase-ESP-Client/blob/f17ea76ae870d6e02290504b1bd7e9599a3ca5cb/examples/Authentications/SignInWithRefreshIDToken/SignInWithRefreshIDToken.ino#L128-L130
In the new one there is this comment:
https://github.com/mobizt/FirebaseClient/blob/852e3cc537651d3deda27c54ec7388080f2a2032/examples/App/AppInitialization/Async/Callback/TokenAuth/IDToken/IDToken.ino#L25C4-L25C129
I understand from that comment that there should be a behavior similar to the old library and obtain a refresh of the token immediately, but when initializing using the example: https://github.com/mobizt/FirebaseClient/blob/main/examples/App/AppInitialization/Async/Callback/TokenAuth/IDToken/IDToken.ino#L25C4-L25C129
no log is obtained until the expiration time is met. Shouldn't it be refreshed immediately?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions