asp.net - Is Windows Authentication enough to sign my user in? -
i have asp.net core application using identity. intranet application , requiring users authenticated using windows authentication, uses kerberos.
i want have system seamless user, when access page , not signed in authenticated, automatically signed in using user.identity.name
corresponds identiy username first check see if exists usermanager.findbyidasync
if exist, sign them in using signinmanager
. if doesn't exist, create new user in identity store , sign user in.
is assuming much? potentially going come , bite me, or acceptable? examples see exist user credentials being transmitted sign user in active directory.
with integrated authentication iis becomes point @ users login, , don't need, , shouldn't use identity 3.0 - don't need it, ad user database here, don't need add identity.
when create new application should click change authentication button in new project dialog , choose windows authentication. configure correctly , won't add of identity pieces.
note in rc1 authorization based on role/ad group membership broken, authorize[roles = "mydomain\mygroup"]
won't work. fixed in rc2.
Comments
Post a Comment