-
Hi, I'm new to this and this might be a stupid question. So, I'm using Email/Password for authentication. In the first hour my code is working perfectly, until there is this message on serial monitor:
Anything after that will give me an error message: I tried to see what is inside auth.token.uid variable by print it to serial monitor, turns out it was changed from Here is my Firebase RTDB rules:
Now I understand that I get On readme I also found that authentication using email and password is not require token generation and time setup, but how to disable token generation? Here is my firebase setup code:
and this is the loop:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Update the library first. |
Beta Was this translation helpful? Give feedback.
-
Too little information. Post you complete code without third party library and keep it clean and minimum here. And post the Serial printing message too. |
Beta Was this translation helpful? Give feedback.
-
In the code before calling Firebase.begin add this line. config.signer.preRefreshSeconds = 3600 - 60; This will make token expired early time in 60 seconds. |
Beta Was this translation helpful? Give feedback.
-
OK I have found the bugs now and create the issue here #202 I will fix this and inform you the update here. |
Beta Was this translation helpful? Give feedback.
-
Now the issue was fixed in v2.7.1. Please update the library. |
Beta Was this translation helpful? Give feedback.
Now the issue was fixed in v2.7.1.
Please update the library.