Single sign-on (vue)

Single sign-on: one account can log in in multiple systems

For example: you are in the OA system and want to directly enter the OB system by clicking the OB system icon without going through the login process. This process is called single sign-on

You may have questions?

How can I get the returned data? How can I get the data when the request is returned in the OA system and the result is also there?

Is such that.

When a person in the OA system clicks to trigger the request, the OA is opened on a new page through the a tag, and we can get the path of the address bar (with token) on the front end and enter the backend. The backend helps the frontend to log in, and the backend redirects to the frontend. The address of the page (with token)

The front end gets the token to do the follow-up processing of the list

Here we communicate through tokens

The backend is redirected to the address of the newly opened page on the frontend, and the frontend gets the token, and directly redirects to the system homepage without going through a series of login procedures.

Front-end work

Develop a new page, receive the address returned from the background, and process the token

 

Guess you like

Origin blog.csdn.net/qq_40055200/article/details/112365099