K
Kinde5mo ago
muadpn

Firebase auth with Kinde. for firebase storage to write security access

I wanted to use firebase and its security policy for a production application. and inorder to do that I need to create a firebase user. my existing application is using kindeAuth. I have been reading documentation from both sides and its messing up. is there anyway that i can implement firebase auth along with kinde ? thanks.
2 Replies
muadpn
muadpn5mo ago
limited in? firebase | kinde ? also cant i do something like, custom_token in firebase ? that is signed by admin sdk? amd assign a uuid to the user and save it into database ? authenticate with the user with the uuid each time sign in ? does this has any limitations ?
Oli - Kinde
Oli - Kinde5mo ago
Hey @muadpn, Yes, you can use Firebase along with Kinde. However, you will need to create a sync between Kinde user data and your Firebase user data. Here are a couple of ways you can achieve this: 1. When a new user is created on your platform, make a Create User API call to Kinde, to add the user to Kinde. 2. If you want to use Kinde's sign-up pages, so users can self-serve sign-up, you can use webhooks to trigger new registration user information to your Firebase system. We are about to release our webhooks feature early next month, subscribe here to be notified when it's live. In the meantime, you could use our Kinde Zapier app to consume new registration webhooks. The Kinde Zapier app is in beta, so please let me know if you want access to it. Remember to keep your Firebase and Kinde user data in sync to ensure a seamless user experience. Let me know if you need more help with this!
Webhooks
Webhooks