Org Registration
Why Register Orgs?
Without Registration
With Registration
Registration Flow
┌─────────────────────────────────────────────────────────────────┐
│ Org Registration Flow │
├─────────────────────────────────────────────────────────────────┤
│ │
│ 1. Developer authenticates locally │
│ sf org login web --alias myOrg │
│ │
│ 2. Register with server │
│ sfp server org register --targetorg myOrg │
│ │ │
│ ▼ │
│ 3. Server stores encrypted credentials │
│ ┌─────────────────────────────────┐ │
│ │ sfp-server (Supabase) │ │
│ │ ┌─────────────────────────────┐ │ │
│ │ │ sfp_salesforce_auth │ │ │
│ │ │ - username │ │ │
│ │ │ - instance_url │ │ │
│ │ │ - sfdx_auth_url (encrypted) │ │ │
│ │ │ - org_id │ │ │
│ │ │ - is_devhub │ │ │
│ │ └─────────────────────────────┘ │ │
│ └─────────────────────────────────┘ │
│ │
│ 4. Team members can now access the org │
│ sfp server org login --username [email protected] │
│ │
└─────────────────────────────────────────────────────────────────┘Registering Orgs
Basic Registration
Register as DevHub
Register as Default DevHub
Register with Metadata
Listing Registered Orgs
Accessing Registered Orgs
Login via Server
Get Default DevHub
Credential Storage Security
Encryption
Access Control
What's Stored
Field
Stored
Encrypted
Sandbox Registration
Standard Sandbox Registration
Register with Parent (for JIT)
Updating Registrations
Update Credentials
Update Metadata
Removing Registrations
CI/CD Integration
Use Registered Orgs in Pipelines
Troubleshooting
"Org not found"
"Unable to retrieve credentials"
"Invalid SFDX Auth URL"
Related Topics
Last updated