Ours is an Angular JS application but we are redirecting to login page from static html page.after login is successful we are initializing the angular application.There we are again intialising the webAuth and we are using
webAuth.checkSession to refresh the token.
it is working fine if we are login in from one tab but if we have application open in two tab simulatenously. when we call checkSession before token expiry we are getting the token of tabA user in tabB.
which is resulting in user mixup in tabs.
Any Idea how it can be fixed?