src-tauri/capabilities/default.json
The default set
supabase-auth:default grants these commands:
Opt-in permissions
Add these individually alongsidesupabase-auth:default.
- Account
- Account linking
- Passkeys
useOnboardingFlow() needs allow-update-user because it persists step progress in user_metadata so an abandoned flow resumes on the next launch.Multi-window apps
Capabilities are scoped to window labels. If your app opens authentication in its own windows, the capability’swindows glob has to cover their labels — a window outside the glob gets zero capabilities and every auth command in it fails with a non-AuthError rejection.
src-tauri/capabilities/default.json

