The community member is considering using Supabase for user registration and login functionality on their website, but is concerned about the security of this approach, as they need to be able to check if a user is logged in and display certain content accordingly. The community member is worried that this client-side check can be easily bypassed by disabling JavaScript, and is asking for feedback on this issue.
One of the comments suggests that Supabase is good for login and sign-up functionality, but there is no explicitly marked answer to the community member's concerns.
I need to do some user registration and login functionality for a website. I would like to use Supabase for this, but I'm not convinced this is completely secure. I need to be able to check if a user is logged in, and display certain content if this is the case. It seems to me this can easily be bypassed by disabling javascript on a page, since the check would be done in Javascript on the client-side. I hope I'm wrong, so I'm asking here.