use Username-Password OAuth Authentication in sfdx command

Posted by ExiaHuang on January 26, 2020

sfdx-xy-plugin

a plugin for sfdx develope and xysfdx

use Username-Password OAuth Authentication

1
sfdx xy:auth:username:login -u username -p password -a alias -r instanceurl

install

Install as plugin

1
2
3
4
5
6
7
8
# install
sfdx plugins:install sfdx-xy-plugin

# show plugin
sfdx plugins

# run
sfdx xy:auth:username:login --help

Install from source

1
2
3
4
git clone https://github.com/exiahuang/sfdx-xy-plugin.git
cd sfdx-xy-plugin
npm install
sfdx plugins:link .

just run it

1
./bin/run xy:auth:username:login

Acknowledgement