Setting up Forms Authentication for multiple Web Apps in MVC 5 based on OWIN

后端 未结 4 1181
我寻月下人不归
我寻月下人不归 2021-02-06 15:07

I am in process of setting up my 1st MVC Web App. I know I need to provide a Forms Based Authentication model as well as I know I will be reusing it for multiple other internal

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 15:34

    Single place of authentication for multiple webapps, can be added with many different approach. To start, here are two.

    1. Using the OWIN framework's OAuthAuthorizationServerProvider: Create one application as a oAuth Server. Setup others to redirect to your oAuth Server for authentication.
    2. Using Identity Federation approach: Look into Windows Identity Federation. (Thinktecture IdentityServer V2 is an easy to implement Security Token Service. IdentityServerV2 has many feature apart from being STS.)

提交回复
热议问题