Assume I have an external web application that I want to use as provider for a provider-hosted app.
What is the difference between the following two approaches:
- Using a provider-hosted app and point it to the web application as provider
- Using a SharePoint-hosted app, add an
IFRAME
and point theIFRAME
to the web application
Some minor differences I see:
- The SharePoint-hosted app needs to get and pass the
{StandardTokens}
"manually" - The SharePoint-hosted app can dynamically alter the provider URL, the provider-hosted app has to use a fixed one
But apart from that - are there any implications I need to be aware of when (say) using approach 2 instead of 1?
Authentication?
Authorization?
Convenience functions missing with the second approach?