Two business systems are deployed internally. For example, system a is deployed at 10.10.10.10:8088/index.html, system b is deployed at 20.20.20.20:8088/index.html, the user logs in on a, and the subpage of system a There is a link that can open system b in a new tab. How to ensure that it is still logged in after opening it? What needs to be done on the front end? How to do it?
Single sign-on
General idea: A and B share a user status information database. After logging in through system A, a token is generated and saved in the public library. When opening system B, bring this token (check whether you have logged in based on the token).
As for how to pass this token: put it in a cookie, or display it after the URL and pass it.
a system jumps to single sign-on system b when linking; Keyword: single sign-on;
Users of systems a and b use the same platform to log in; Keyword: oauth 2.0