How do I authenticate to a Custom Web Api from a SharePoint 2013/2016 single page app? I've seen a couple examples of using session which i really don't want to use, I'm thinking maybe a custom security token service or would it be better to add the web api as a provider hosted app (high trust) since this is on premises?
Sharepoint 2013/2016 and Custom Web Api with custom database.
1.7k Views Asked by Fab At
1
There are 1 best solutions below
Related Questions in SHAREPOINT-2013
- Limit items on external list using BCS Filter
- share point excel service
- MS Access Run-time error 3999
- SharePoint 2013 Custom list field iterator not saving values for MultiLine or person columns
- SharePoint Links with Ampersands
- Sharepoint 2013 health and usage data
- <body onresize="jsUpdateSize()"> not firing
- CSOM Equivalent of allusers
- Access data from SharePoint-hosted app
- sql server saves only null values for some columns
- Upload properly encoded (base64?) image to SharePoint with AngularJS
- SharePoint 2013 - Programmatically access the file in directory from the path present in database table
- Communication betwen sharepoint apps on different pages
- The data source provider for data sources of type 'ADOMD.NET' is not registered
- Access Form : import picture from SharePoint
Related Questions in SHAREPOINT-APPS
- Communication betwen sharepoint apps on different pages
- How to Unregister or Update Registered SharePoint app
- Access denied, SharePoint app. Copy file to another site collection
- Get current page URL and Title from a SharePoint Provider Hosted add-in Part?
- SharePoint Design package breaks App's master-page
- SharePoint provider-hosted app licence check
- Invalid Host Name when access app in sharepoint 2013
- Adding a Client Web Part (App Part) to a sharepoint page programmatically
- Install SharePoint Hosted App
- How to create an Enterprise custom field programmatically for Project Server
- SharePoint provider-hosted app: 401 unauthorized in multitenant environment
- Uploading files >40MB using SP.requestexecutor to sharepoint online hangs the browser
- Developing SharePoint App Causes a new url to generated each time I deploy
- Delpoy sharepoint app project and solution
- can I add content by search web part to my SharePoint hosted app
Related Questions in SHAREPOINT-2016
- Can I make the SharePoint form interactive?
- How does the following code to get around the SharePoint ASP.NET no scripting requirements, and how can I prevent it?
- How to set progress in custom long running timer job
- How to change the color of the date value when have passed 2 days in a SharePoint list?
- Sharepoint online archive Options
- MS Project Server - How to block/interrupt save and publishd event on closed project
- How to check if a Rating is enabled for a sharepoint online list using JavaScript?
- How do I display the html page for a Custom SharePoint List view?
- SharePoint REST API Setting CheckoutUser using ValidateUpdateListItem()
- Unable to rotate the labels on x-axis in DevExtreme
- PnP — Add a claim value to a SP Group using PnP powershell
- @pnp/sp seems to be missing the .get() method
- How to filter dropdown values of a column in sharepoint online based on the values on another column within same list?
- Is it possible to extend SPFieldUrl to have more properties like url or description, to create a custom field type?
- Getting an error while trying to create a site collection in SharePoint Central Administration
Related Questions in SHAREPOINT-WEBSERVICE
- SharePoint HTTP connector - Unable to change sender name of no-reply emails
- Provider hosted app - how to get FedAuth and rtfa cookie of the current logged-in user
- SharePoint Web API - URL Doesn't work with hyphen ("-") in url
- Login to Sharepoint Online failure
- Cannot Preprocess Data for Web Service Submit To SharePoint from InfoPath
- SharePoint HTTP Web service
- Get if "Allow management of content types" is checked using SharePoint WebServices
- Error while creating "Promoted Links" list in SharePoint via Web Service
- Sharepoint 2013/2016 and Custom Web Api with custom database.
- SharePoint Recurring Events Are Random?
- SAML token based authentication for consuming share point 2013 rest web services from JAVA/J2ee application
- Disable WSDL Generation for SharePoint 2013
- Sharepoint webservice rename a folder
- Set Request Header SharePoint web service
- SharePoint search web service with an ampersand
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found a solution finally, this one actually makes sense: http://blog.baslijten.com/getting-sharepoint-2013-apps-and-webapi-to-work/