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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -