Hello Everyone,
i have created a provider hosted app in SharePoint 2013 and deployed the App in my O365 site(Cloud) and deployed App web in Azure(Trail Version).
While clicking my App in SharePoint it is redirecting me to Azure Website, this working perfect as expected.
My Issue is,I Signed out my credentials from SharePoint site i.e App hosted SharePoint site but still my Web App is running in Azure web site. How can i detect/identify my App hosted SharePoint site got signed out and how can i redirect my Azure Web App to App login page?
I used C# client object model to get Authentication using Token Helper file.
Any one please suggest me how can i identify if user signed out from hosted SharePoint site and stop loading my Azure hosted Web App.
Many Thanks in Advance
Arunkumar