My application which is build in angular 5 uses Auth0 for login. Once the login is successful i store the access token in sessionStorage. So the problems are
- If there are two tabs in the same browser with two different users and if the users are logged out, from one of the tab the user cannot login back.
2.I use auth.js library for Auth0 integration and there is a timer which will tirgger every two minute and will call a ‘checkSession’ method of auth.js library. This method will given a access token which i store in the sessionStorage. The problem if there is two different tabs in the same browser the checkSession method is giving the same accessToken.
Please help me on this