I have developed a login application using angular 4 as front end and spring security as backend.Issue is as follows: 1)login with one user with correct credentials in one tab. (User gets logged in) 2)open second tab and try login with same user with wrong password.(user gets logged in though wrong credentials are entered)
I am using withcredentials= true for each backend request. So session is getting shared between two tabs.I want new session to be created for new tab.
Your help is appreciated.