fnakstad / angular-client-side-auth

One way to implement authentication/authorization in Angular applications
http://angular-client-side-auth.herokuapp.com/
MIT License
1.63k stars 346 forks source link

IE Back button Cookie issue #39

Open mocsharp opened 11 years ago

mocsharp commented 11 years ago

To reproduce the problem, first you log on with admin/123, then click Log out from the nav. Now, click on the Twitter login button but DO NOT login, simply click the Back button on IE, you will see the user is still logged in.

The problem is IE writes the existing cookie when you go back to previous page.

mocsharp commented 10 years ago

The fix is to delete the cookie on the server side.