user12049: I am passing multiple -rpcuser and -rpcpassword options, but the last user is the one that's working ! I was assuming that I can set multiple JSON-RPC users.

user12049: I figured it out!
I used share/rpcauth.py script in bitcoin core to generate two users and passed the output multiple times using -rpcauth argument.
wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py

python3 rpcauth.py my-username  my-password



12049: <p>I am passing multiple <code>-rpcuser</code> and <code>-rpcpassword</code> options, but the last user is the one that's working ! I was assuming that I can set multiple JSON-RPC users.</p>
 12049: <p>I figured it out!
I used share/rpcauth.py script in bitcoin core to generate two users and passed the output multiple times using <code>-rpcauth</code> argument.</p>
<pre><code>wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py

python3 rpcauth.py my-username  my-password

</code></pre>
