Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Authenticate users with Microsoft Account #2953


User avatar
0
bilalhaidar created

Hello, Is authenticating users with Microsoft Account already pre-built in the framework? I am developing a module to integrate with OneDrive and I was wondering if this is already built-in.

According to this article, I can configure that as it is shown here: <a class="postlink" href="https://www.benday.com/2014/02/25/walkthrough-asp-net-mvc-identity-with-microsoft-account-authentication/">https://www.benday.com/2014/02/25/walkt ... ntication/</a>

If this integration is not currently available, shall I follow the above article? Anything specific to Abp?

Thanks


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

    Hi,

    We have tried with azure but I think same thing can work with Microsoft account. You can try to enable either ADFS or OpenId. You just need to configure their values in your web project's config file.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    Thanks Ismail.

    OpenId or ADFS could be used to authenticate with Microsoft Account (Outlook.com)? Any example on how to configure these?

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is simple actually, you need to fill <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/Web.config#L43">https://github.com/aspnetzero/aspnet-ze ... config#L43</a> or <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/Web.config#L47">https://github.com/aspnetzero/aspnet-ze ... config#L47</a>

    You need to get those information from your Microsoft Account. I haven't done this before but it works in this way for Azure.

    By the way, do you mean Office 365 by Microsoft Account ?

  • User Avatar
    0
    bilalhaidar created

    Thanks for the hints.

    Actually both office 365 and free outlook.com. will that incur more configurations?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    No, I just wanted to learn what you are using :).

  • User Avatar
    0
    bilalhaidar created

    I will try it soon and report back :-)

  • User Avatar
    0
    bilalhaidar created

    I will try it soon and report back :-)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks,

    We can try to help you according to your feedback.