How to refresh session for Google oAuth?

I am using YouTube API and am using Supabase oAuth Google provider for authentication. While supabase session doesn't reset and I'm still signed into my app, in ~1 hr my Google API requests start getting denied access, it gets fixed when I sign-out and sign-in again.

I wanted to know if anyone knows what's the issue, how to identify the issue, and how to fix it.

I'll add the requests and responses a bit later when it breaks again.
image.png
Was this page helpful?