Server Authentication
Authentication Overview
┌─────────────────────────────────────────────────────────────────┐
│ Authentication Layers │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Layer 1: Server Authentication │
│ ───────────────────────────────── │
│ You ───> sfp-server │
│ Methods: OAuth (GitHub/SAML), Admin login, Impersonation │
│ Result: Server access token (stored locally) │
│ │
│ Layer 2: Salesforce Authentication │
│ ────────────────────────────────── │
│ sfp-server ───> Salesforce Orgs │
│ Methods: Registered org credentials, JIT authentication │
│ Result: Access to Salesforce APIs via server │
│ │
└─────────────────────────────────────────────────────────────────┘Complete Authentication Flow
Step-by-Step Walkthrough
1. Initial Server Authentication
2. Verify Authentication Status
3. Access an Environment
4. Use the Authenticated Org
Token Storage Details
OS
Storage Location
Service Name
Authentication Lifecycle
Server Authentication Methods
OAuth (GitHub)
OAuth (SAML)
Admin Login
Impersonation (Advanced)
Authentication Storage
Token Location
Environment Variables
Application Tokens
Creating an Application Token
Using Application Tokens
Managing Application Tokens
Role-Based Access
Role
Capabilities
Credential Access
CI/CD Integration
GitHub Actions
Azure DevOps
Global Auth Mode
Session Management
Session Timeout
Multiple Servers
Troubleshooting
"Authentication failed"
"Token expired"
"Unauthorized"
"Cannot connect to server"
Related Topics
Last updated