Components Overview
| Component | Description | Default URL |
|---|---|---|
| Dex | OIDC/OAuth2 provider for authentication | dex.<your-domain> |
| Membership | Management API for organizations, users, and stacks | membership.<your-domain> |
| Console | Web interface for managing your Formance stack | console.<your-domain> |
Dex Configuration
Dex is deployed as the default OIDC provider. You can configure it to:- Create local users for testing
- Connect to external identity providers (SAML, LDAP, OAuth2)
- Integrate with your existing SSO infrastructure
Default Configuration
The default Dex configuration creates a simple setup for testing with a static admin user. For production, configure your own identity provider.Connecting to External Identity Providers
Dex configuration is set throughcloudprem.membership.dex.configOverrides, which merges with the default Dex configuration generated by the Membership chart.
Configure SAML Provider
Configure SAML Provider
Configure LDAP Provider
Configure LDAP Provider
Configure OAuth2 Provider (Okta, Auth0, etc.)
Configure OAuth2 Provider (Okta, Auth0, etc.)
Using Your Own OIDC Provider
If you already have an OIDC provider (e.g., Keycloak), you can bypass Dex entirely:global.platform.membership.relyingParty defines the OIDC issuer URL. Use the path field when your provider uses a sub-path (e.g., Keycloak realms).
Membership Configuration
You can customize authentication behavior and stack defaults:Service Ports
| Service | Port | Protocol |
|---|---|---|
| Membership | 8080 | HTTP |
| Membership | 8082 | gRPC |
| Dex | 5556 | HTTP |
| Portal | 3000 | HTTP |
| Console V3 | 3000 | HTTP |
Initial Setup with Membership CLI
The Membership CLI provides commands to configure your self-hosted deployment. You run these commands directly inside the Membership container.Accessing the Membership CLI
Connect to the Membership container:Quick Setup (Recommended)
Use theconfiguration init command for an all-in-one setup:
- A region for your deployment
- An organization
- An admin user
- A stack ready to use
Check Database Connection
Before running any configuration, verify the database connection:Manual Setup
If you prefer to configure each component separately:Create a Region
Create an Organization
Create a User
ADMIN- Full accessGUEST- Read-only access
Create a Stack
JSON Output
All commands support the--json flag for scripting:
Available Commands Reference
Configure Organization with fctl
After the initial setup, you can usefctl for additional configuration.
Login to Your Cluster
Configure Auto-Login for Your Domain
Wizard Bootstrap (Alternative to CLI)
Instead of using the Membership CLI, you can auto-create users, organizations, regions, and stacks on first install using the wizard in your values file:ee-demo.yaml profile.
Accessing the Console
After setup, access the Console at:Verifying the Setup
Check Component Health
Test Authentication
Troubleshooting
Cannot access Console
Cannot access Console
- Verify ingress is configured:
- Check TLS certificate:
- Check Console logs:
Authentication fails
Authentication fails
- Check Dex configuration:
- Verify Dex is accessible:
- Check Dex logs:
Membership CLI errors
Membership CLI errors
- Check database connection from inside the container:
- Check Membership logs:
- Verify PostgreSQL is running: