Disable Auth in Development
Guide for disabling authentication in Elsa Server and Studio during development to simplify local testing and experimentation.
When to Disable Authentication
When NOT to Disable Authentication
Methods for Disabling Authentication
Method 1: Disable Endpoint Security (Simplest)
Method 2: Bypass Authorization with AllowAnonymous
Method 3: Disable Elsa Identity Module
Method 4: Configuration-Based Toggle
Disabling Authentication in Elsa Studio
Studio Configuration
Docker Compose Example
Testing with Disabled Authentication
Test API Access
Test Studio Access
Security Considerations for Development
1. Restrict Network Access
2. Use Separate Development Database
3. Firewall Rules
4. Environment Checks
Re-Enabling Authentication for Production
Troubleshooting
Studio Still Prompts for Login
API Returns 401 Unauthorized
Cannot Access from Another Machine on Network
Next Steps
Related Documentation
Last updated