sfdx auth:web:login
Authorize an org using the web login flow
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-i, --clientid <clientid> | OAuth client ID (sometimes called the consumer key) |
-r, --instanceurl <instanceurl> | The login URL of the instance the org lives on |
-d, --setdefaultdevhubusername | Set the authenticated org as the default dev hub org for scratch org creation |
-s, --setdefaultusername | Set the authenticated org as the default username that all commands run against |
-a, --setalias <setalias> | Set an alias for the authenticated org |