Hi All
We have a requirement to retrieve data from SQl azure & consume it O365 Sharepoint hosted app parts. to expose SQL azure data we implemented Web API . Now we are struck at securing Web API. I found below flow in internet search.
In this process
Client component (App part) get IdP token ( signed SAML Responce) from sharepoint & sends IdP token to ACS, which validates the token signature & claims & issues Access Token(valid for 600sec) to client ,which would be forwarded to Web API. where web Api validates & provides data.
Client - SharePoint Site (App parts)
Identity provider : Onelogin is our Identity provider.
Application : Web API
In this whole process . how to get IdP Token (SAML Response) from sharepoint in Sharepoint hosted appparts using client object model?
can any one help on this.
ragava_28