You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On this line the auth.api.getUser() function is invoked on every request. Isn't that an issue when building the app that this will run for every call? Is that the recommended way from supabase?
The text was updated successfully, but these errors were encountered:
Hey @enyo, this will run only if Supabase token is discovered in the cookie, and it will only be discovered when the user is successfully logged in. Given, a user is logged in the full user object could be required at any point of time in the code that runs on the server for Auth N/Z.
On this line the
auth.api.getUser()
function is invoked on every request. Isn't that an issue when building the app that this will run for every call? Is that the recommended way from supabase?The text was updated successfully, but these errors were encountered: