Base solution for your next web application
Open Closed

Sso WsFederation with existing Office365 accounts. #2037


User avatar
0
commondesk created

We would like to implement SSO using Microsoft Office 365 account in the same way we use your FaceBook Social Oauth capability.

We’ve looked through your materials and other online documentation but don’t understand what should be used for these configuration values.

ConfigurationManager.AppSettings["ExternalAuth.WsFederation.Wtrealm"]; ConfigurationManager.AppSettings["ExternalAuth.WsFederation.MetaDataAddress"];

Do you know of any configuration guides or samples that could help?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    For MetaDataAddress you should use something like this which I take from my azure account. <a class="postlink" href="https://login.microsoftonline.com/">https://login.microsoftonline.com/</a>{YourAzureAccountName}/federationmetadata/2007-06/federationmetadata.xml

    And for Wtrealm, you need to set your ClientId in the azure portal. You need to create an application under Azure's Active Directory settings section.

    I haven't tried with Office 365, but It might be similar.