+ Start a Discussion

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