WS-FED authentication (ADFS) and ASP.NET Identity UserManager -
i apologize if use wrong or ambiguous terms. please correct me if do.
i have new asp.net 4.6 mvc 5 app uses claims authentication via wsfederation , microsoft adfs server. means do not expose login action controller nor manage users , passwords in webapp. when user navigates site, if not authenticated redirected adfs server log in , redirected back.
i have need store of submitted claims offline usage -- display name , email address. thought utilize asp.net identity package creates collection os aspnet* tables. understanding designed support both local users (with passwords) , external users (with passwords managed externally) providers facebook, google, github, etc. correct adfs falls under category?
and after successful authentication redirects site, put logic checks if user has entry in aspnet* tables? configuration , wiring of cookie authentication , wsfederation happens in startup.configureauth(iappbuilder app) method. think supposed use classes inherit identityuser , identitydbcontext<applicationuser> , call methods on usermanager or userstore.
i have spent hours searching examples of how associate external logins application "profile" tables no avail. very possible have been using wrong terms. every example have found far deals either emulating or modifying default vs template comes login , register action methods or hooking fb , google. nothing deals adfs and/or tying profile tables external sources.
any code examples or @ least links articles/resources appreciated.
yes adfs external provider aware uses ws-fed whereas social logins oauth.
have @ code! mvc 5 app facebook, twitter, linkedin , google oauth2 sign-on (c#).
you'll see has linking mechanism.
also owin : asp.net mvc application multiple authentication options has example of adding adfs.
Comments
Post a Comment