Firebase Auth

Configure authentication on the PowerSync instance with the following settings:

Firebase signs these tokens using RS256.

PowerSync will periodically refresh the keys using the above JWKS URI, and validate tokens against the configured audience (token aud value).

The Firebase user UID will be available as token_parameters.user_id. To use a different identifier as the user ID in sync rules (for example user email), use Custom authentication.

Last updated