Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging out then redirecting browser quickly does not allow session storage to flush #86

Open
GregTurner opened this issue Jul 3, 2015 · 1 comment
Labels

Comments

@GregTurner
Copy link

On some system logging out redirects to an SSO logout. However if you redirect the browser too quickly, the session storage persists and the user remains logged into the angularjs app.

Tracked down this issue to here:

gsklee/ngStorage#39

The workaround (as suggested in ngStorage issue) is to wait for >100ms for session storage to flush, see here:

        $timeout(function () {
            $window.location = "http://localhost:9070/authserver/logout?redirect_uri=" + window.encodeURIComponent($location.absUrl());
        }, 110);
@m00s
Copy link
Member

m00s commented Jul 4, 2015

Thank you @GregTurner. Gonna fix that in the next release!

@m00s m00s added the bug label Jul 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants