Simple user management solution for small to medium-sized businesses
FlagFlow includes a built-in user management system designed for organizations that need straightforward authentication without the complexity of external identity providers. This system is ideal for small to medium-sized teams that want to get started quickly with secure feature flag management.
Perfect for: Teams of 5-50 users, development environments, proof-of-concepts, and organizations without existing identity infrastructure.
Enable and configure the built-in user management system:
# Enable built-in user management SESSION_USERS_ENABLED=true # Default user created at startup SESSION_DEFAULT_USERNAME=admin SESSION_DEFAULT_PASSWORD=your-secure-password # Session timeout (in seconds) SESSION_TIMEOUT_SEC=1800 # 30 minutes # Optional: Environment identifier ENVIRONMENT=production
When FlagFlow starts with built-in user management enabled, it automatically creates a default administrator user if no users exist in the system.
SESSION_DEFAULT_USERNAME
and SESSION_DEFAULT_PASSWORD
environment
variablesSESSION_USERS_ENABLED=true
First Login: Navigate to your FlagFlow instance and use the login form with your configured default credentials. You'll be prompted to change the password on first login for security.
Users with the users
permission can create new user accounts through the web interface:
Each user can be assigned specific permissions based on their role:
Permission | Description | Typical Role |
---|---|---|
flag-value | Modify flag values | Developer, DevOps |
flag-schema | Modify flag schemas | Senior Developer, Architect |
flag-create | Create and delete flags | Product Manager, Lead Developer |
users | Manage users and sessions | Administrator |
migration | Execute migrations and backups | System Administrator |
As your organization grows, you may want to migrate from built-in user management to an enterprise identity provider like Keycloak.
SESSION_USERS_ENABLED=false
See the Keycloak Integration documentation for detailed setup instructions.
SESSION_USERS_ENABLED=true
is setSESSION_TIMEOUT_SEC
valueusers
permission