Links

App Backend Setup

When using PowerSync, your app backend is responsible for the following:
  1. 1.
    Authenticating users.
  2. 2.
    Generating JWTs to authenticate users against the PowerSync service.
  3. 3.
    Writing client-side changes to the SQL database.
An overview of how PowerSync interacts with your backend application.

Authenticating Users

Authenticating users is outside the scope of PowerSync. A service such as Auth0 may be used, or any other authentication system.
Once a user is authenticated against your app backend, your app backend needs to generate a JWT to authenticate the user against the PowerSync service.
See Authentication Setup for details.