Could anyone share script to authenticate SharePoint Online using jQuery/ajax method. I can see some forum, using POSTMAN tool to authenticate. But I want to do through script not using any tool. Site url is like below

https://spteamspace.sharepoint.com/sites/myteamapp/and my SPO username is like xyz.abc@companyname.com

Appreciate your help..!


I'm looking for something similar to what you are asking for. In the meantime, maybe, the following library could help you do this stuff, Active Directory Authentication Library (ADAL) for JavaScript. Take a look and see if this can fit your needs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.