Supabase Auth without middleware

Hello! Thank you for supabase, it is really awesome. A small question. I tried to look over similar questions but i'm confused.

Is it possible to use supabase-auth in nextjs without the middleware?

I know in rsc, you cannot set cookies, so not sure what happens if your token expired and supabase tries to refresh it but it fails to set the cookie.

Is there any workaround to skip middleware?

Thank you!
Was this page helpful?