Windows Identity Foundation: How to delete STS token cookie on server side -


i'm trying delete wif sts token cookie on server side, not delete. works on client browser side not on server. have been searching web last few days have not found solution.

some of things found , tried no luck are: federatedauthentication.sessionauthenticationmodule.signout(); -federatedauthentication.sessionauthenticationmodule.deletesessiontokencookie(); federatedauthentication.sessionauthenticationmodule.cookiehandler.delete();

var test = httpcontext.current.applicationinstance.modules.get("wsfederationauthenticationmodule") microsoft.identitymodel.web.wsfederationauthenticationmodule; test.signout(true); //throws null error

the above lines of code called in sts web handling logout. if has suggestion appreciate it. thanks

looks using wif 1.0 (3.5).

use wsfederationauthenticationmodule.federatedsignout method.

this sends wsignout message sts, sts deletes cookies, sends wsignoutcleanup rp, rp deletes cookies.

you doing federated sign on use federated sign out.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -