login_into_org
Authenticate and log into a Salesforce org via browser OAuth, storing credentials locally for future CLI use. Requires alias and isProduction parameters to connect.
Instructions
Authenticate and login to a Salesforce org via web browser. This command opens a browser window for OAuth authentication flow, allowing you to securely connect to a Salesforce org. After successful authentication, the org credentials are stored locally by the Salesforce CLI for future use. Use isProduction=true for production/developer orgs (login.salesforce.com) or isProduction=false for sandboxes/scratch orgs (test.salesforce.com). The alias parameter creates a convenient shorthand name for accessing this org in subsequent commands. IMPORTANT: This tool requires both 'alias' and 'isProduction' parameters to be provided before execution - do not proceed until all required parameters are supplied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |