SFDX Auth URL
What is an SFDX Auth URL?
URL Format
force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>Component
Description
Example
force://PlatformCLI::[email protected]How sfp-server Uses SFDX Auth URLs
Credential Storage Architecture
Database Schema
Column
Description
Encryption
Registering Orgs with sfp-server
Production Orgs and DevHubs
Sandboxes (Two Options)
Option 1: Direct Registration (with SFDX Auth URL)
Option 2: JIT Registration (recommended)
How Credentials are Returned
Access Token Generation
Exception: Scratch Orgs and Pool-Fetched Sandboxes
OAuth2 Behind the Scenes
The OAuth2 Flow
Token Lifecycle
Troubleshooting
"Invalid SFDX Auth URL"
"Refresh token expired"
"Decryption failed" (sfp-server)
"Unable to generate JIT auth"
Related Topics
Last updated
Was this helpful?