Skip to content

logOut() triggers session_changed which refreshes token #1487

Description

@johighley

logOut(true) removes items from session storage. When item 'session_state' is removed, it causes a 'session_changed' event. The event handler, handleSessionChange() then retrieves a new token using either refreshToken() or silentRefresh() even though the intent was to logout and clear local state.

The state change event should not trigger a new token when caused by logout.

Windows 10, Chrome

version 18.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions