Skip to content
The Bridge docs
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Welcome
Getting Started
(to be written)
Auth
Securing your app
Frontend: route guards
Backend: verifying tokens & protecting APIs
Sign-in methods
Email & password
Google SSO
Azure AD SSO
Passkeys
Magic link
MFA / 2FA
UI components
Email & password
SSO login button
Passkeys
Magic link
MFA / 2FA
Signup
Forgot / reset password
User & Team management
Tokens
Switching workspaces
The user token
Logging in and logging out
Getting the user token
How the user token is updated
Auth states
Roles & Privileges
How roles & privileges work
Define roles & privileges
Assign roles to users
The owner role
Common role setups
Gate features by role or privilege
API tokens
Multi-tenancy
Configurations
Billing & Subscriptions
How billing works
Setup
Connect Stripe
Define your plans
Add billing to your app
Get users onto a plan
Require a plan to use the app
Choose & switch plans
Enforce plan limits
Lock features to a plan
Set usage limits
Report usage
Keep users informed
Show subscription status
Warn about billing problems
Self-service & lifecycle
Let users manage their billing
Offer free trials
Handle failed payments
React to billing changes
Going deeper
Check plans on your backend
Use subscription management on its own
Manage billing via the API
Feature Flags
How flags work
Get started
Using flags
Show or hide UI
Use flags in your logic
Guard routes
Use flags on your backend
Targeting
Send context from your code
Write targeting rules
Target by plan or role
Target anonymous visitors
Recipes & operations
Common patterns
Observe & verify
Managing flags
API Reference
Overview
Authentication
Auth Flows (no SDK)
API Tokens
App Profile
Branding
Access Control
Federation
Users
Tenants
Feature Flags
Payments
Subscriptions & Entitlements
Usage & Quotas
Event Log
Data Import
Webhooks
Models
Errors
GitHub
Select theme
Dark
Light
Auto
Choose framework
Billing/lifecycle/billing-portal
Find your framework’s billing/lifecycle/billing-portal:
Choose your framework to get started:
React
Next.js
Svelte
Angular