SFDX Auth url completed

This commit is contained in:
Wim Velzeboer
2026-09-22 11:50:59 +01:00
parent 88ad6d3e3e
commit 120dd21233
13 changed files with 3427 additions and 56 deletions
+2 -3
View File
@@ -14,10 +14,9 @@
//! - Export the SFDX Auth url from the CLI
//! ```bash
//! sf org auth show-sfdx-auth-url --target-org my-org-alias
//! # or
//! sf org auth show-sfdx-auth-url --target-org my-org-alias --json > sfdx_auth_url.json
//! ```
//!
//! - Copy the sfdxAuthUrl and import it into your application in a save and secure manner,
//! and never hardcode it! (like in the example below)
use oauth2::http::header::AUTHORIZATION;
use oauth2::http::{HeaderMap, HeaderValue};
use rustsf_auth::credentials::SalesforceCredentials;