function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prady01Prady01 

login to salesforce using javascript

Hi forum, I am writting an application purely out of javascript and html. I would like to login into salesforce using username and password or also using the security token, It wouldnt matter. Do i have use anything other than pure html and js, Like node or something?

Imagine you have an html page opened in your browser which has two text boxes to enter username and password, using that how can i authenticate and login so that i can use tooling api to get the data from salesforce.

Please let me know or if anyone has a sample code to login into salesforce just using javascript, It would helpful if you share!

Thank you
PSM