Miiflow Docs

Authentication for Self-Hosting

Configure authentication for your self-hosted Miiflow instance.

Authentication Options

Email/Password

Default authentication method. Users register with email and password.

OAuth Providers

Configure third-party login:

  • Google
  • GitHub
  • Microsoft

SAML/SSO

Enterprise single sign-on integration.

Configuration

Email Authentication

Enabled by default. Configure email settings:

EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_USER=your-email@example.com
EMAIL_PASSWORD=your-password

Google OAuth

GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret

GitHub OAuth

GITHUB_CLIENT_ID=your-client-id
GITHUB_CLIENT_SECRET=your-client-secret

Security Settings

Password Requirements

Configure in your environment:

PASSWORD_MIN_LENGTH=8
PASSWORD_REQUIRE_UPPERCASE=true
PASSWORD_REQUIRE_NUMBERS=true

Session Configuration

SESSION_TIMEOUT=3600
SESSION_SECURE=true

SAML Integration

For enterprise SAML/SSO setup, contact us for configuration assistance.

Best Practices

  1. Enable HTTPS in production
  2. Use strong, unique secrets
  3. Configure proper session timeouts
  4. Enable MFA when available
  5. Regularly audit user access