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