Create C# WebApi that can Authenticate different sister company users RRS feed

  • Question

  • Hi there,

    I need to plan for solution where, Web apis needs to get data from SQL and return in JSON.

    Well the catch is API can be accessed using other sister company users also,

    I am not sure how should I do this, should I create service or any middle layer that will take care about Authentication?.

    Currently few sister companies using ADFS and Azure, but new vendor / sister companies using Okta/OpenID/xyz

    1) NOW what should be the right approach to decide the Authentication process (Use case)?

    2) And how to achieve that using 4.6 / .netcore.

    (I think 4.6 should be good as it supports ADFS(On-Prem) and Online Auth both.

    3) Also should I create a login screen to check domain name and depending on Domain redirect to Auth Provider?

    4) Please do share Sample code / related blog, the standard msdn pages has limited info.

    Any suggestion/idea is appreciated, its bit urgent and very important.

    Saturday, November 16, 2019 5:33 PM

All replies