How do I identify active users on my Nextjs app using Supabase auth?

I want to identify who is on my app so I can place green badges as indicators.

I logged into my app (which I have not deployed) through Google OAuth, so the session is stored. However, I left days ago and it is still there. So, I don’t know the best algorithm or query to implement to accomplish this. Hopefully, other developers have been able to overcome this issue.