I am using mitxtrem's s extension to login the user. I am updating score in the FIREBASE REALTIME DB by using "PUT" through a Web component.
Problem : I cannot "PUT" , or update score if the user has been inactive for more than an hour.
Solution :
I want to learn how to use/ implement the refresh token.
How to specify the validity of specific time period such as 1 day, or 1 week.
So that the students/ users have to log in, say only once a day. Or once a week only to havebtye quiz available to them any free time without having to log in every few hours.
P.s ~ I have seen some tutorial on YouTube solving the same problem in other languages like flutter or react.
I am unable to transfer the ideas in app inventor.
As far as I am aware, there are no easy methods (if any) for handling refresh tokens with firebase components and extensions, and the REST api does not provide a method.