Skip to content

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

Open
@GregTurner

Description

@GregTurner

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions