Session Token after Login Auth using firebase

Hey team, i have build one app with firebase database with authentication using Firebase Auth. Can you please help me out how i can secure my session so that without logged in i can't access my site pages?

Please share if any help guide or link available for same.

@manpreet7 only users logged into Retool will be able to access any apps containing authenticated resources like your firebase database. Is this the answer to your questions, or do you mean some other form of login?

I mean we have three types of users roles,

  1. Admin
  2. User
  3. Super Admin

We want to restrict the user directly accessing the page instead can't we have session check on Firebase Auth we implemented on system.

We don't have an integration with Firebase Auth. All users of your app will be able to query Firebase resources unless you want to restrict the user with Resource permissions.