sfdx auth:web:login

Authorize an org using the web login flow

Options

NameDescription
--jsonFormat 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, --setdefaultdevhubusernameSet the authenticated org as the default dev hub org for scratch org creation
-s, --setdefaultusernameSet the authenticated org as the default username that all commands run against
-a, --setalias <setalias>Set an alias for the authenticated org