简体   繁体   中英

ASP.NET External Login Provider

I currently have a web app in ASP.NET MVC using ASP.NET Identity for authentication (user/password).

Now i want to shift the authentication to an external service . this external service only returns the username (indicating that is authenticated).

How can i tell my web app (and to ASP.NET Identity) that the user is logged in without logging it again?

Thanks!

Visual Studio 2013 and ASP.NET 4.5.1 make integration with external authentication services easier for developers by providing built-in integration for the authentication services such as Facebook, Google, Microsoft Accounts and Twitter . Otherwise your web application can enable users to log in using OAuth 2.0 with credentials from an external authentication.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM