Stwissel / node-red-contrib-salesforce

A set of Node-RED nodes to interact with Salesforce and Force.com
MIT License
10 stars 17 forks source link

Only the oauth credential type shown in the config dialog #42

Closed stanakaj closed 5 years ago

stanakaj commented 5 years ago

Hi, thank you very much for a nice node-red module . I would like to use the username/password authentication, but this is not shown in the config dialog. I found that the html code for it is commented out as below.

 <select id="node-config-input-credentialType">
   <option value="oauth">oAuth (default)</option>
    <!--  <option value="userpwd">Username/Password</option>
    <option value="jwt">JWT Token</option>
    <option value="bearer">Bearer Token (Session)</option> -->

Is this a intentional comment out? if I remove comment marks and use the username/password authentication, I got a something bad ?

Thanks for your attention. I’m looking forward to your reply.

stanakaj commented 5 years ago

Apologies for the trouble. I have solved the problem. the oAuth is enough for me.