The invention relates to a cross-platform single sign-on seamless migration method. The method comprises the following steps: S1, a
client application initiates a sign-on request to an
authentication center; s2, after receiving the request, the
authentication center firstly verifies the identity of the user, and meanwhile, the
authentication center creates an initial session and binds the initial session; s3, the
client persists part of session data to the cloud for caching in real time through a Session synchronization service; s4, the user selects cross-terminal non-inductive login to call the migration process at the new terminal, and the new terminal submits the obtained migration
voucher to the authentication center to initiate a session takeover application; s5, the authentication center verifies the legality of the migration
voucher, after
verification is passed, a new group of
Access Token and Refresh Token is generated, the original
session state is synchronized to the new end, and a new session and the original session are bound or coexist in parallel; and S6, after the APP end receives the new Token information, a local Session environment is automatically reconstructed, original end session data is pulled at the same time, and the operation process is seamlessly continued. According to the invention, cross-platform seamless migration of the user session and the service state is realized.