I am using Spring boot with Angular 9 with STATELESS session implementation. The application is successfully performing login and registration functionality. String boot generates token(JWT) on each and every request of login. After login when I tried to run the application of second TAB then it is again asking me to log in. To overcome the issue I have saved the token in Localstorageand then while clicking on another TAB the angular code is able to pick token from Localstorage. But after some R&D I came to know that HTTPOnly Cookie should use in place of Localstorage. Can someone help me using an HTTP-only cookie with Angular 9 and Spring Boot. Thanks