implicit-lime
implicit-lime5mo ago

Clerk.com + Supabase

Hello, I’m using Clerk.com for auth with supabase and wanted to use Refine.dev but it seems that it needs supabase auth. Is there a way around this or how can I get this to work? Thanks
2 Replies
kapa.ai
kapa.ai5mo ago
Hi @reylv. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Refine.dev indeed provides built-in support for Supabase authentication, as mentioned in the extracts. It uses an Auth Provider concept that allows the use of any authentication service with Refine. The auto-generated src/authProvider.ts file contains pre-defined functions using Supabase Auth API methods internally to perform authentication and authorization operations. This is where the complete authentication logic for the app is set. However, if you're using Clerk.com for authentication with Supabase, you might need to create a custom Auth Provider to integrate Clerk.com with Refine. Unfortunately, the provided extracts do not contain specific information on how to create a custom Auth Provider with Clerk.com. I recommend checking out the Refine documentation on Auth Provider methods and custom Auth Providers (https://refine.dev/docs/authentication/auth-provider/) for more information on how to implement this. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai5mo ago
<@687759770903380101> kapa.ai is still learning and improving, please let us know how it did by reacting below