KindeK
Kinde11mo ago
7 replies
Pranay

Kinde, Supabase, and React Native

Hi, I have a full NextJS app which is using supabase and kinde. I did something hacky where I never enabled RLS on the tables, but instead I checked the logged in user on every server action to make sure the user was correct and had the right permissions. Not the best approach but it worked.

I am now working on making my nextJS application into a React Native app. However, seems like the hacky thing I was doing is probably not the best way forward. I'm exploring the docs but it doenst seem straightforward on integrating React Native, Kinde and Supabase. Is the main way to get around this via the JWT token? Can't find any other solutions.
Was this page helpful?