Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

SharePoint Hosted Apps with FBA & SSO

$
0
0

Hi,

I have a web application using claim based authentication which has both FBA and Windows Authentication enabled. I also created a SharePoint hosted App with an App Part which is added on the Home page of the web application.

When I login using Windows Authentication, I get a seamless integration with the App. The App part gets the data from the App and displays it without any problem. I can navigate to the App and no authentication pop up is presented. (Disabled the loop back for this).

However, when I choose Forms Authentication to login into my web application, the App part doesn't show the data from the App. When I navigate to the App, it asks for the Authentication again. Once I login again, using Forms Authentication and the same credentials, the App part starts showing the data.

What I make out of it is that the user context is not getting passed to the App web from the host web in case I choose FBA.

I even tried adding the following to my AppManifest.xml, but no luck.

<AppPermissionRequests AllowAppOnlyPolicy="true">
  <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" />
</AppPermissionRequests>

Am I missing something in the configuration? Can someone help me configure this? All I am trying to achieve is SSO using FBA for my SharePoint hosted App.

Thanks in advance.


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>