Authenticate user in firebase project with existing Shopify user/account

I'm building an app for an existing Shopify shop. Users that have an account for this Shopify shop should be able to log in with their existing account in the new app. In other words, they should not be required to have to create a new account in my app but be able to login with the email and password of their existing Shopify account. This app uses Firebase as a BaaS and the Shopify shop is on Shopify Plus. Is this behavior possible and if yes, how to I set this up?

Comment (1)

Jese Leos

August 19, 2024

Verified user

If you want to sign your Shopify users in with Firebase, you'll need to mint a custom token for them (in a trusted environment) and then use that token (on the client) to sign in to Firebase.

You’ll be in good company