Can I use supabase for auth and the rest of the application in my custom backend?

I don’t want to get locked into supabase backend. I would like to use weweb for frontend, and use my custom backend for what we’re building. My question is can i just use the auth component of supabase and use my python backend (with each request authenticated of course).

Yes, you can use it as such. I’m not sure if the python will handle the auth, or if you want to incorporate Supabase auth into your existing API. In the case of:

  1. Using python token based auth, or whatever else, you’ll probably have to do two things: a) obtain the credential (token) b) store it in local storage, or as a cookie so it can be reused in the following calls.

  2. If you’re using Supabase auth in your api also, it’s all handled for you, you just use the plugin to get the token which is handled by weweb, and them you just send that and do your auth middleware on the backend.

Both ways, you can use the premade template (for the UI)