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 page 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://mysharepoint.server/_forms/default.aspx?wa=wsignin1.0 to get the auth cookies.
Does anyone know what is the equivalent URL for OWA? Or any code sample?
Instead of using the ADFS redirect, I have created my own sign in page 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://mysharepoint.server/_forms/default.aspx?wa=wsignin1.0 to get the auth cookies.
Does anyone know what is the equivalent URL for OWA? Or any code sample?