- JWKS URI:
https://www.googleapis.com/service_accounts/v1/jwk/[email protected] - JWT Audience: Firebase project ID
aud value).
The Firebase user UID will be available as:
request.user_id()in Sync Rules (previouslytoken_parameters.user_id)- Or,
auth.user_id()if you are using Sync Streams
PowerSync Cloud Configuration
- In the PowerSync Dashboard, select your project and instance and go to the Client Auth view.
- Configure your Firebase JWKS URI and JWT Audience settings.
- Click Save and Deploy to apply the changes.
Self-Hosted Configuration
This can be configured via yourconfig.yaml:
config.yaml