supabase-rust
is a light Rust wrapper around the Supabase REST API.
- Client creation
- Sign-in email/pass
- Signup email/pass
- Signup phone/pass
- Token refresh
- Logout
- Verify one-time token
- Authorize external OAuth provicder
- Password recovery
- Resend one-time password over email or SMS
- Magic link authentication
- One-time password authentication
- Retrieval of user's information
- Reauthentication of a password change
- Enrollment of MFA
- MFA challenge and verify
- OAuth callback
- All SSO
- All Admin
- All Database support
Add the following dependency to your toml file:
[dependencies]
supabase_rust = "0.1.0"
You can initialize the two configuration keys either inline in the intialization or via environment variables (SUPABASE_API_KEY
and SUPABASE_URL
).
The Supabase team has an outline of their OpenAPI specs over in this yaml file.
Supabase-rust is available under the MIT license, see the LICENSE file for more information.