asp.net core - External Cookie is not destroyed -
in asp.net core app, i'm using social media authentication.
after user data social media provider, try destroy "external" cookie provider can create new "internal" cookie user. when check see if user registered or not.
for reason though external cookie not getting destroyed. if there's problem , unregistered user aborts process , comes app, seems right through if he's registered user because app accepting external cookie.
any idea why external cookie not destroyed? use following line destroy external cookie. await httpcontext.authentication.signoutasync(cookieauthenticationdefaults.authenticationscheme);
Comments
Post a Comment