QuestionQ56

VerifiedBasic Lightning Web Component Development

An administrator has just given a developer a completely new org and a username. Assuming the username is [email protected], what is the correct sequence of steps to authorize the org for Command Line Interface (CLI) access so that the developer can deploy Lightning web components?

Explanation

Salesforce CLI authorizes an org through the web server OAuth flow by opening a browser for interactive credential entry. For the legacy force:auth:web:login command, -r is the instance URL flag, so https://login.salesforce.com correctly selects the production login endpoint. The -a flag is reserved for an optional org alias.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!