I think I cracked it: How to use Supabase with Firebase Auth

Feedback

This topic has bothered me since I started using FlutterFlow.

I want Firebase features to work seamlessly, like push notification deploys and device token storage, but I don't like Firestore and Supabase has always seemed like a far superior database.

Up to now I was minting Supabase tokens on my backend (I made this video about that), but it always bothered me that I couldn't communicate with Supabase's rest API directly.

This week, I came up with a method that gets the job done in one custom action plus one cloud function.

My article is a little technical, but I was hoping to get some feedback on the approach. If any of you seasoned FF devs wouldn't mind taking a look and telling me if it makes sense or if the approach has any obvious flaws, I'd be super grateful!

Here's my article:

https://kealy.studio/blog/how-to-set-up-supabase-with-firebase-auth-in-flutterflow/

Thanks :)

15
69 replies