New answers tagged authentication
You can try OAuth authentication. Check below link which has all the steps explained in detail. sharepoint-online-o365-oauth
The above mentioned scenario is working as per design w.r.to SharePoint hosted apps. The first activity in hosted app is authentication which happens in the page load event by calling the context token methods in default page this way oath token will be generated to gain access to SharePoint resources.if you are accessing this outside of SharePoint then you ...
If you have a single Page and want to keep SharePoint as the Authenticating source. The easiest option is to create a Page in SharePoint Web Application and then edit the source of the page to make it look like the Page you are targeting.
I have found root of the problem: I missed SOAPAction header. Weird but many other service methods work well without it. Regarding CheckOutFile method, there is some trick with checkoutToLocal - I haven't managed to make it work with checkoutToLocal=true. Should I first make check out with checkoutToLocal=false?.. don't really know
So the solution is to run this PowerShell script on the web application providing the information: Add-PSSnapin Microsoft.SharePoint.PowerShell -EA 0 $localFarm = Get-SPFarm $webapp = Get-SPWebApplication "http://XXX---URL_OF_PROVIDING_WEBAPP---XXX" # Remove old web.config modifications of MyAuthenticationProvider $oldMods = @(); ...
The Web Page Security Validation feature helps enhance security by imposing a time limit on Web pages when a user submits information to the server. When a user tries to submit information to the server after the validation time-out expires, the user receives the error message that is mentioned in the "The security validation for this page has ...
Top 50 recent answers are included