none
Remote user authentication to SharePoint Online RRS feed

  • Question

  • Hi,

    I’ve successfully retrieved a security token through an HTTP POST request to the Azure AD authenticate endpoint and now trying to fetch an access token to SharePoint Online.

    So I perform an HTTP POST to the following URL with the security token as the request body

    e.g. https://somedomain.sharepoint.com/_forms/default.aspx?wa=wsignin1.0

    Is there a specification or requirement on what the Content-Type of the request should be? 

    text/plain; charset=utf-8 or application/x-www-form-urlencoded or something else?

    Do I need to specify a Content-Type?

    Please let me know what the correct Content-Type should be.

    Thanks.

    Thursday, December 8, 2016 11:44 PM

All replies