App Backend Setup

This section is a work in progress. Please contact our support team if you have any questions.
The app backend is responsible for:
  1. 1.
    Authenticating users.
  2. 2.
    Generating JWTs to authenticate users against the PowerSync cloud 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 cloud service.