Trying to programatically sign into OWA which trusts our ADFS 2.0 server. The signin from login.microsoftonline.com works as expected (redirect to https://myadfs.server/adfs/ls/?blabla)
Instead of using the ADFS redirect, I have created my own sign in webpage using the code sample here.
But the code is for SharePoint. I need OWA. I guess main thing I need to change is the service URL for Office 365 OWA that will return authorization cookies. The code uses https://myserver.sharepoint.com/_forms/default.aspx?wa=wsignin1.0 to get the auth cookies.
Does anyone know what is the equivalent URL for OWA? And what cookies the OWA service expects? Or any code sample?
Instead of using the ADFS redirect, I have created my own sign in webpage using the code sample here.
But the code is for SharePoint. I need OWA. I guess main thing I need to change is the service URL for Office 365 OWA that will return authorization cookies. The code uses https://myserver.sharepoint.com/_forms/default.aspx?wa=wsignin1.0 to get the auth cookies.
Does anyone know what is the equivalent URL for OWA? And what cookies the OWA service expects? Or any code sample?