Azure ACS is persisting the identity even after logged off -


i have website uses azure acs federated authentication, published in cloud. once logged off google provider 1 gmail user , tried loggin other gmail credentials, website not providing me option login, directly accessing previous gmail credentials , redirecting me gmail home page.how solve issue?

you have log-off application. signing out google affect if being redirected log-in google again. once authenticated google, have new session in own web site. , logged-in in our own website until (a) session expires or (b) explicitly sign out.

when using wif/acs, explicitly sign out of web application need execute following method:

var wsfedmodule = federatedauthentication.wsfederationauthenticationmodule; wsfedmodule.signout(); 

you can read more federatedauthentication here , specific singout method here.

please pay attention references - .net framework 4.5 , in system.identitymodel.services assembly, version 4.0.0.0! advice use framework version , assemblies, opposite using .net framework 3.5 (4.0) , wif assembly microsoft.identitymodel.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -