How to use Refresh Token so that users don't have to log in every hour?

I am making a quiz app for my students. They have to log in to do the quiz. Scores are stored in Real-time database.

I am using Mirxtrems firebase extension for sign up and signin.

After one hour of sign in, the app "refreshes" and we have to log in again. It's a bummer for students.

How to use Refresh Token so that my students/ users have to log in only once a day, or once a week.

A post was merged into an existing topic: Refresh Token example/ tutorial references?