Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to generate FedAuth / RTFA cookies to make sharepoint online requests when using PingIdentity SSO?

$
0
0

Dear SharePoint community,

I need to be able to access SharePoint online API's in an environment that uses PingIdentity to provide SSO to Office 365.

When a user requests a https://mycompany.sharepoint.com/somesite

  1. They are redirected to login.microsoftonline.com and asked for their "email" account.
  2. They are then taken to Ping Identity login page. They are asked here for a password.
  3. Once they present the password, they are now taken to https://mycompany.sharepoint.com/somesite with rtfa / fedAuth cookies which allows them to now access the protected resources.

I was able to get this exact same scenario working via REST API for ADFS as high-level documented here:

https://sharepoint.stackexchange.com/questions/223078/how-to-authenticate-to-sharepoint-online-office-365-using-rest-api-when-on-pre/223602#223602

Does anyone have the equivalent of how to make REST api requests to perform this task? I can use SOAP, REST, or C# to do it. Whatever works to generate the fedAuth and rtfa cookies I can use.



Viewing all articles
Browse latest Browse all 7589

Trending Articles



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