FlowDrop supports three authentication providers that control how API requests are authenticated. Choose based on your security requirements.
No Authentication
For development and prototyping when your backend doesn’t require auth:
NoAuthProvider sends no authentication headers. This is also the default if you don’t specify an authProvider.
Static Token Authentication
For simple deployments with a fixed token:
Bearer Token
API Key
Static tokens can’t be refreshed.If the token expires, FlowDrop API calls fail with 401 errors until the editor is remounted with a new token.
Callback Authentication (Enterprise)
For enterprise integrations where your application manages auth:
Token Refresh Pattern
The callback provider supports automatic token refresh:
OAuth2 / OIDC Integration
Error Handling with Auth
Combine auth providers with the onApiError event handler for centralized error management:
Choosing a Provider
Next Steps