Skip to content

Instantly share code, notes, and snippets.

@ubergoober
Created May 7, 2014 17:48
Show Gist options
  • Save ubergoober/30b4b6120ecc41b39b2a to your computer and use it in GitHub Desktop.
Save ubergoober/30b4b6120ecc41b39b2a to your computer and use it in GitHub Desktop.
Clear Windows Authentication in IE javascript
// This is an attempt at clearing Windows Authentication in IE when setup in IIS as the authentication method.
// This is no way a solution. Only a hack that semi worked.
javascript:try {document.execCommand("ClearAuthenticationCache");}
catch (e) { }
location.href('/');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment