Angular 6.x / Set jsessionid cookie
问题 I developed my app backend using java and springboot 2.x, and in the other hand I have my angular app. I also use the OAuth2 protocol to log in, and what I need is to save the JSESSION id google provides after logging in a cookie so then send it in every request to the backend app. I read about using HttpInterceptor but I can not work it out. Any help? Thanks 回答1: Angular HTTPInterceptor is the most appropriate solution . You can use it applying the following steps: 1: Build your