Skip to content

Runtime Settings ​

Configure your app's runtime: authentication, security, API access and webhooks.

What are Runtime Settings ​

Runtime Settings control how the generated app (the runtime) behaves — authentication providers, security policies, API tokens, and webhook configurations.

These are separate from Project Settings, which control the Madrix Creator interface itself.

Accessing Runtime Settings ​

  1. Open your project
  2. Click Runtime Settings in the Project Editor top bar (or the shield icon)

Authentication ​

Configure how users log in to your generated app:

Email/Password ​

Built-in authentication. Enabled by default:

  • Users register with email + password
  • Password reset via email
  • Session management via JWT

SSO (Single Sign-On) ​

Supported providers:

  • Google Workspace
  • Microsoft Azure AD / Entra ID
  • Generic SAML 2.0
  • Generic OIDC

To configure SSO:

  1. Go to Runtime Settings → Authentication → SSO
  2. Select the provider
  3. Enter the client ID, client secret, and callback URL
  4. Save and test login

See SSO & Login Troubleshooting if you encounter issues.

RBAC (Roles and Permissions) ​

Define who can access what in the generated app:

  • Create roles (e.g.: Admin, Manager, Viewer)
  • Assign permissions per role: view, create, edit, delete
  • Permissions are scoped to entity type and individual records

Changes to RBAC take effect immediately (no redeploy needed).

API Tokens ​

Generate tokens for external systems to call your app's REST API:

  1. Go to Runtime Settings → API Tokens
  2. Click New Token
  3. Set a name, expiry, and permission scope
  4. Copy the token immediately (shown only once)

See Integrations & API for full API documentation.

Webhooks ​

Configure outbound webhooks to notify external systems of events in your app:

  • Trigger: record created, updated, deleted, or status changed
  • Target: any HTTPS endpoint
  • Payload: JSON with event type and record data
  • Retry: automatic retry on failure (3 attempts, exponential backoff)

Environment Variables ​

Store secrets and configuration per environment:

  1. Go to Runtime Settings → Environment Variables
  2. Add key-value pairs
  3. Values are encrypted at rest and never exposed in logs

Reference variables in scripts: os.environ.get('MY_SECRET')

Rate Limits ​

Configure per-endpoint rate limits to protect your app:

  • Default: 100 requests/minute per user
  • Can be adjusted per environment
  • Returns 429 Too Many Requests when exceeded

Next: Integrations & API →

© Madrix Software. All rights reserved.