Supabase Auth

Hey, guys! Have anyone tried to setup WASP/OpenSaaS with Supabase Auth? I was reading this article here https://supabase.com/partners/integrations/prisma and trying to work on this but I confess I got stuck. Best, Paulo
6 Replies
kapa.ai
kapa.ai9mo ago
Hi @paulo.langer. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hello Paulo, While Wasp does support various authentication methods such as Email, Username & Password, Google, Github, and Keycloak, there's no specific mention of Supabase Auth in the provided knowledge sources. However, there's a mention in a Github issue (https://github.com/wasp-lang/wasp/issues/1265) that a user was able to use a Supabase database via DATABASE_URL, which indicates that there might be a possibility to integrate Supabase with Wasp, but it's not explicitly documented or guaranteed. For setting up authentication in Wasp, you can refer to the Wasp Auth documentation (https://wasp-lang.dev/docs/auth/overview). It provides a detailed guide on how to set up various authentication methods. If you're still having trouble, I would recommend reaching out to the Wasp community or the creators directly for more specific guidance. Best, kapa.ai ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @paulo.langer, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Filip
Filip9mo ago
@paulo.langer Hey Paulo. The bot seems to be right. Have you tried just using supabase like a normal database (put it in DATABASE_URL)?
martinsos
martinsos9mo ago
Yeah, people got it working previously for sure! Check this older discord convo where user got it working: https://discord.com/channels/686873244791210014/1250831665995972729/1250831665995972729
Kynetix
Kynetix2w ago
Hi, were you able to get this sorted out? I'm building a Saas with supabase as well and trying to decide which auth to use - Supabase or Opensaas'. What are the pros and cons of each?
Vinny (@Wasp)
Vinny (@Wasp)2w ago
@miho do you have an example app for this?
miho
miho2w ago
I didn't try using Supabase Auth with Wasp to be honest, it made more sense to me use Wasp's auth becuase then I can get the user object on the client and in the operations out of the box

Did you find this page helpful?