Using Firebase Auth JWT for Couchbase Capella Client Authentication

We’re currently using Firebase Authentication (with Google and Apple sign-in) for our web and mobile applications, and we’re looking to integrate this with Couchbase Capella. Specifically, we want to authenticate clients for the Couchbase replicator using Firebase Auth JWT tokens.

Our Requirements:

  • Utilize Firebase Auth JWT tokens to authenticate users.
  • Automatically create a user-specific channel upon authentication if it doesn’t already exist.

Questions:
1. What is the recommended approach for utilizing Firebase Auth JWT tokens with Couchbase Capella?
2. Are there any best practices for creating user-specific channels dynamically during the authentication process?

We’re looking for the path of least resistance to implement this integration smoothly. Any guidance or insights from your experiences would be greatly appreciated. Thank you!

1 Like

I didn’t see anything specific to Firebase, but here is the authentication documentation. Authentication Domains | Couchbase Docs

stackoverflow post android - How to use firebase authentication in couchbase sync gateway - Stack Overflow