A single sign-on method and system for a multi-application system
By obtaining user permission information and generating system authentication codes in the single sign-on server, the login behavior is controlled according to the security level of the application system, and a permission verification mechanism is introduced to solve the single sign-on security and trust reliability under multi-application systems. problems, improving the overall security and reliability of the system.
Patent Information
- Application Number
- CN202011550970.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-12-24
AI Technical Summary
In the existing technology, the single sign-on method under multi-application systems has low security and is susceptible to callback address forgery attacks. It also lacks a hierarchical trust mechanism between application systems, resulting in poor trust reliability and the need to independently design a permission management system and workload. Onerous.
After receiving the login request in the single sign-on server, obtain the user permission information and generate the system authentication code, configure the initial callback address, and control whether to log in automatically according to the security level of the application system, and introduce a permission verification mechanism to ensure that the user can only log in Application system with permissions.
It improves the security and reliability of the single sign-on system, avoids callback address forgery attacks, reduces personnel workload, and realizes the automation of trust mechanism and permission management between application systems.
Smart Images

Figure CN112560006B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a single sign-on method, system, electronic device and computer-readable storage medium in a multi-application system. Background Art
[0002] When an enterprise has multiple application systems, it is quite troublesome for users to enter their account and password each time they enter a system. Therefore, a single sign-on method is proposed, which allows users to use multiple application systems by entering their account and password once.
[0003] In the related art, the callback address is directly spliced into the single sign-on interface, and after successful login, it directly jumps to the connection address corresponding to the callback address. Based on the above characteristics, the callback address passed by the client can be artificially forged, and the security is poor. In addition, since there is no classification of various application systems, the reliability of the trust mechanism between the systems is poor. Furthermore, it is necessary to independently design a permission management system to manage the permissions of users and application systems, and the workload of this process is heavy.
[0004] Currently, no effective solution has been proposed for the problem of low security of single sign-on methods in related technologies. Summary of the invention
[0005] The embodiments of the present application provide a single sign-on method, system, computer device and computer-readable storage medium in a multi-application system to at least solve the problem of low security of the single sign-on method in the related art.
[0006] In a first aspect, an embodiment of the present application provides a single sign-on method in a multi-application system, the method comprising:
[0007] After receiving the logged-in information of the first application system, the single sign-on server obtains the login request sent by the client, and according to the login request, determines the second application system, obtains the user authority information and generates a system authentication code;
[0008] In the case where the user authority information includes the authority requirement information of the second application system, the single sign-on server obtains the application system ID of the second application system, and generates an initial callback address according to the application system ID configuration;
[0009] The single sign-on server generates a callback address according to the initial callback address and the system authentication code;
[0010] The single sign-on server adds the callback address to the target link to generate a login address, and sends the login address to the client, wherein the login address is used to jump to the second application system.
[0011] In some embodiments, after the single sign-on server determines the second application system according to the login request, the method further includes:
[0012] The single sign-on server obtains the security level of the first application system and the second application system;
[0013] In the case that the security level of the first application system is greater than or equal to that of the second application system, the single sign-on server obtains the user authority information and generates a system authentication code according to the login request.
[0014] In some embodiments, after the single sign-on server obtains the security levels of the first application system and the second application system, the method further includes:
[0015] In the case that the security level of the first application system is lower than that of the second application system, the single sign-on server sends security level authentication failure information to the client, and the client renders and generates a first authentication failure interface based on the security level authentication failure information.
[0016] In some embodiments, when the user permission information does not include permission requirement information of the second application system, the single sign-on client sends permission authentication failure information to the client, and the client renders and generates a second authentication failure interface based on the permission authentication information.
[0017] In some embodiments, the single sign-on server obtains the IP address of the client and queries the home domain corresponding to the IP address, wherein the home domain is in a fixed IP address format;
[0018] The preset login method of the home domain is obtained, and the client renders and generates a login interface according to the preset login method, wherein the preset login method includes third-party application login and local login.
[0019] In a second aspect, an embodiment of the present application provides a single sign-on system in a multi-application system, the system comprising: a client device and a single sign-on device, wherein the client device is connected to the single sign-on device;
[0020] The client device is used to send the first application system login information and login request to the single sign-on device, or to receive the callback address sent by the single sign-on device, wherein the callback address is used to log in to the second application system;
[0021] The single sign-on device is used to receive the first application system information login information and login request sent by the client device, and determine the second application system, obtain user authority information and generate a system authentication code according to the login request;
[0022] Or it is used to obtain the application system ID of the second application system when the user authority information includes the authority requirement information of the second application system, and generate an initial callback address according to the application system ID configuration; and generate a callback address according to the initial callback address and the system authentication code, add the callback address to the target link to generate a login address and send the login address to the client device, wherein the login address is used to jump to the second application system.
[0023] In some embodiments, the single sign-on device is further used to obtain the priority of the first application system and the second application system after determining the second application system according to the login request;
[0024] In the case where the security level of the first application system is greater than or equal to that of the second application system, the single sign-on device obtains the user authority information and generates a system authentication code according to the login request;
[0025] In the case that the security level of the first application system is lower than that of the second application system, the single sign-on server sends security level authentication failure information to the client device, and the client device renders and generates a first authentication failure interface based on the security level authentication failure information.
[0026] In some embodiments, when the user authority information does not include the authority requirement information of the second application system, the single sign-on device sends an authority authentication failure message to the client device, and the client device renders and generates a second authentication failure interface based on the authority authentication information.
[0027] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a single sign-on method in a multi-application system as described in the first aspect above is implemented.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the single sign-on method in a multi-application system as described in the first aspect above.
[0029] Compared with the related art, the single sign-on method under the multi-application system provided by the embodiment of the present application configures the login callback address in the background according to the application ID, introduces the application security level, and controls whether to automatically sign in with a single sign-on according to the application security level; first log in to the high-level application, then log in to the low-level application for automatic single sign-on; first log in to the low-level application, then log in to the high-level application and cannot sign in with a single sign-on. In addition, a permission verification mechanism is added, and when the user logs in, the application for which the user has no permission cannot be logged in. This solves the problem of low security and reliability of related single sign-on systems, and improves the security and reliability of single sign-on systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0031] Figure 1 This is a schematic diagram of an application environment of a single sign-on method in a multi-application system according to an embodiment of the present application;
[0032] Figure 2 is a flow chart of a single sign-on method in multiple application scenarios according to an embodiment of the present application;
[0033] Figure 3 is a schematic diagram of an application system trust mechanism according to an embodiment of the present application;
[0034] Figure 4 is a schematic diagram of an application permission mechanism according to an embodiment of the present application;
[0035] Figure 5 is a structural block diagram of a single sign-on system in multiple application scenarios according to an embodiment of the present application;
[0036] Figure 6 It is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0038] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0039] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0040] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0041] The single sign-on method under the multi-application system provided by this application can be applied to Figure 1 In the application environment shown, Figure 1Schematic diagram of the application environment of the single sign-on method in the multi-application system according to the embodiment of the present application. Figure 1 As shown, the terminal 10 communicates with the server 11 through the network. The server 11 receives the login request sent by the client 10, and the server 11 determines the second application system according to the login request, obtains the user authority information and generates the system authentication code, and generates the initial callback address according to the second application system ID configuration; the server 11 generates the callback address according to the initial callback address and the system authentication code, and adds the callback address to the target link to generate the login address. The terminal 10 jumps to the second application system through the login address. Among them, the terminal 10 can be but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 11 can use an independent server or a server cluster composed of multiple servers to implement a single sign-on method under a multi-application system provided in this application.
[0042] In a work scenario where there are multiple application systems, it is very cumbersome and unnecessary to enter an account and password each time you log into a system. Therefore, it is necessary to design a single sign-on method that only requires entering a password once to enter multiple application systems for the convenience of users.
[0043] This embodiment provides a single sign-on method in multiple application scenarios. Figure 2 is a flow chart of a single sign-on method in multiple application scenarios according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0044] Step S201, after successfully logging into the first application system, the single sign-on server obtains a new login request issued by the client; wherein, in this embodiment, the login request is a request initiated by the client for the single sign-on server to perform single sign-on verification and obtain parameters. Further, the login request includes the client identification such as the ID of the client initiating the login, the IP address of the client requesting the login, the application system requesting the login, and the user authority information. Among them, the client refers to a program corresponding to the server that provides local services to users, which is generally installed on a terminal (such as a mobile terminal, etc.), and the client needs to cooperate with the server to run; the server refers to a software program and data set that serves the client. It can be understood that the method provided in this embodiment is executed by the server. In the scheme of step S201, the login request should also include the cookie generated by logging into the first application. Correspondingly, if the login request does not carry the cookie for logging into the first application system, it means that the client is initiating a login request for the first time;
[0045] Step S202, the single sign-on server determines the second application system according to the login request, obtains user authority information and generates a system authentication code; wherein, the second application system is a new application system that the client logs in to after having logged in to the first application system. It should be noted that in this embodiment, the first and second are not serialized results generated according to the relationship between numerical values, data volume, etc. Optionally, the single sign-on server determines the second application system according to the login request, and obtains user authority information according to user information; it should be noted that the user authority information is used to reflect the user's usage rights. Optionally, the user authority can also be the usage rights for specific functions in the application system, such as: camera usage rights, microphone usage rights and local data reading rights.
[0046] Step S203, when the user authority information includes the authority information of the second application system, the single sign-on server obtains the application system ID of the second application system, and generates an initial callback address according to the application system ID configuration; in this embodiment, a permission verification mechanism is added, and when the user logs in, by comparing the user authority information in the login request and the authority information of the application system requested to log in, the user's permission to use the current login system is determined, and a decision is made based on the comparison result whether to proceed to the next process or issue an authentication failure message. Optionally, the single sign-on server can return a detailed list of authority identifications to the application system. It should be noted that the authority verification mechanism provided in this embodiment is for all application systems in the work scenario, and during the user's login to the first application system, the single sign-on server also performs a corresponding authority verification process;
[0047] Step S204, the single sign-on server generates a callback address based on the initial callback address and the system authentication code; it should be noted that the callback address is used to specify the URL that jumps back to the website. The purpose of callback address registration is to protect the security of third-party APPID accounts to prevent them from being misappropriated by other malicious websites. For example, Bilibili Animation supports logging in with a WeChat account. When the user connects for the first time (the jump link carries the appid that Bilibili Animation applied for from WeChat), WeChat will prompt "Authorize Bilibili Animation to log in". After entering the username and password, it will jump back to Bilibili Animation (here is the callback address) with a message that the authentication is passed. In this embodiment, the initial callback address is configured according to the application system ID. The link address generated based on the initial callback address can avoid jumping to any link, thereby improving the security of the system.
[0048] Step S205, the single sign-on server adds the callback address to the target link to generate a login address, and sends the login address to the client, wherein the login address is used to jump to the second application system;
[0049] Through steps S201 to S205, this embodiment configures the initial callback address according to the application ID, and then generates a login address based on the initial callback address, the system authentication code and the target link. The client jumps to the second application system through the login address, thereby solving the problem of poor security of the single sign-on system in the related technology and improving the security and controllability of the single sign-on system.
[0050] In some of these embodiments, Figure 3 is a schematic diagram of an application system trust mechanism according to an embodiment of the present application, such as Figure 3 As shown, after the single sign-on server determines the second application system according to the login request, the single sign-on server obtains the security level of the first application system and the second application system; when the security level of the first application system is greater than or equal to the second application system, the single sign-on server obtains the user authority information and generates the system authentication code according to the login request. When the security level of the first application system is less than that of the second application system, the single sign-on server sends the security level authentication failure information to the client, and the client renders and generates the first authentication failure interface based on the security level authentication failure information. In this embodiment, the security level of the application system is configured by the developer according to certain preset rules, and each application system corresponds to a security level. Based on the above embodiment, the single sign-on server can control whether to automatically single sign-on according to the application security level; further, single sign-on is performed normally when logging in to a low-level application with a smaller security level from a high-level application with a larger security level; when logging in to a high-level application with a larger security level from a low-level application with a smaller security level, single sign-on cannot be performed, and the user needs to re-enter the account password or scan the code to log in. For example, if the security level of application system A is 5 and the security level of application system B is 2, the user can log into system B without logging into system A first. Otherwise, single sign-on is not possible. The above embodiment can better control single sign-on on demand and establish a certain trust mechanism between application systems, rather than assuming that all application systems trust each other and have complete single sign-on, thereby improving the reliability of the system.
[0051] In some of these embodiments, Figure 4 is a schematic diagram of an application permission mechanism according to an embodiment of the present application, such as Figure 4 As shown, when the user authority information does not include the authority requirement information of the second application system, that is, the user does not have the authority to use the second application system, the single sign-on client sends an authority authentication failure message to the client, and the client renders and generates a second authentication failure interface based on the authority authentication information. It should be noted that by adding a permission verification mechanism to the single sign-on server, it can be determined whether the user has the authority to use the currently logged-in application system at the same time as the user logs in. There is no need to independently design authority management systems for different application systems, which reduces personnel workload and maintenance costs.
[0052] In some of the embodiments, the single sign-on server obtains the IP address of the client and queries the domain corresponding to the IP address, wherein the domain is in a fixed IP address format; the single sign-on server obtains the preset login method of the domain, and the client renders and generates a login interface according to the preset login method, wherein the preset login method includes third-party application login and local login. For example: in an enterprise scenario, the user opens the single sign-on page, the client detects the branch company to which the visitor's IP address belongs (the branch company has a fixed IP address), and queries the database for the preset login method selected by the branch company; if the M branch company sets WeChat login, the login page only displays WeChat login related information, and if the N company sets local user login, the login page only displays local login related information; optionally, the above embodiments can also be applied to select login methods for different applications.
[0053] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0054] This embodiment also provides a single sign-on system in multiple application scenarios, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. As used below, the terms "module", "unit", "subunit", etc. can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0055] Figure 5 is a structural block diagram of a single sign-on system in multiple application scenarios according to an embodiment of the present application, such as Figure 5As shown, the system includes a client device 51 and a single sign-on device 52, wherein the client device 51 is connected to the single sign-on device 52; the client device 51 is used to send the first application system login information and login request to the single sign-on device 52, or to receive the login address sent by the single sign-on device 52, wherein the login address is used to jump to the second application system. The single sign-on device 52 is used to receive the first application system login information and login request sent by the client device 51, and according to the login request, determine the second application system, obtain the user authority information, and generate a system authentication code. Or, when the user authority information includes the authority requirement information of the second application system, obtain the application system ID of the second application system, and generate an initial callback address according to the application system ID configuration; and generate a callback address according to the initial callback address and the system authentication code, and add the callback address to the target link to generate the login address and then send it to the client device 51, wherein the login address is used to jump to the second application system.
[0056] In some of the embodiments, the single sign-on device is also used to obtain the priority of the first application system and the second application system after determining the second application system based on the login request; when the security level of the first application system is greater than or equal to the second application system, the single sign-on device obtains user authority information and generates a system authentication code based on the login request; when the security level of the first application system is lower than that of the second application system, the single sign-on server sends security level authentication failure information to the client device, and the client device renders and generates a first authentication failure interface based on the security level authentication failure information.
[0057] In some embodiments, when the user authority information does not include the authority requirement information of the second application system, the single sign-on device sends an authority authentication failure message to the client device, and the client device renders and generates a second authentication failure interface based on the authority authentication information.
[0058] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a single sign-on method under a multi-application system is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball, or touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0059] In one embodiment, Figure 6 is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application, such as Figure 6 As shown, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in Figure 6 As shown. The electronic device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a single sign-on method under a multi-application system is implemented.
[0060] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0061] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0062] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0063] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A single sign-on method for a multi-application system. It is characterized in that The method comprises: After receiving the login information of the first application system, the single sign-on server obtains the login request sent by the client, and determines the second application system according to the login request, obtains the user authority information, and generates a system authentication code, wherein the user authority information is used to reflect the use authority of the user, including the use authority of specific functions in the second application system; In the case where the user authority information includes the authority requirement information of the second application system, the single sign-on server obtains the application system ID of the second application system, and generates an initial callback address according to the application system ID configuration, wherein, when the user logs in, by comparing the user authority information in the login request with the authority information of the application system requesting login, the user's authority to use the current login system is determined, and a decision is made based on the comparison result whether to proceed to the next process or issue an authentication failure message; The single sign-on server generates a callback address according to the initial callback address and the system authentication code; The single sign-on server adds the callback address to the target link to generate a login address, and sends the login address to the client, wherein the login address is used to jump to the second application system.
2. The method according to claim 1, It is characterized in that After the single sign-on server determines the second application system according to the login request, the method further includes: The single sign-on server obtains the security level of the first application system and the second application system; In the case that the security level of the first application system is greater than or equal to that of the second application system, the single sign-on server obtains the user authority information and generates a system authentication code according to the login request.
3. The method according to claim 2, It is characterized in that After the single sign-on server obtains the security levels of the first application system and the second application system, the method further includes: In the case that the security level of the first application system is lower than that of the second application system, the single sign-on server sends security level authentication failure information to the client, and the client renders and generates a first authentication failure interface based on the security level authentication failure information.
4. The method according to claim 1, It is characterized in that In the case that the user authority information does not include the authority requirement information of the second application system, the single sign-on client sends authority authentication failure information to the client, and the client renders and generates a second authentication failure interface based on the authority authentication information.
5. The method according to any one of claims 1 to 4, It is characterized in that The single sign-on server obtains the IP address of the client and queries the home domain corresponding to the IP address, wherein the home domain is in a fixed IP address format; The preset login method of the home domain is obtained, and the client renders and generates a login interface according to the preset login method, wherein the preset login method includes third-party application login and local login.
6. A single sign-on system for multiple application systems. It is characterized in that The system comprises: a client device and a single sign-on device, wherein the client device is connected to the single sign-on device; The client device is used to send the first application system login information and login request to the single sign-on device, or to receive the login address sent by the single sign-on device, wherein the login address is used to jump to the second application system, wherein the user authority information is used to reflect the use authority of the user, including the use authority of specific functions in the second application system; The single sign-on device is used to receive the first application system information login information and login request sent by the client device, and determine the second application system, obtain user authority information and generate a system authentication code according to the login request; The single sign-on device is used to obtain the application system ID of the second application system when the user authority information includes the authority requirement information of the second application system, and generate an initial callback address according to the application system ID configuration; and generate a callback address according to the initial callback address and the system authentication code, and add the callback address to the target link to generate a login address and send the login address to the client device, wherein the login address is used to jump to the second application system, wherein, when the user logs in, the user's permission to use the current login system is determined by comparing the user authority information in the login request with the permission information of the application system requesting login, and a decision is made based on the comparison result whether to proceed to the next process or issue an authentication failure message.
7. The system according to claim 6, It is characterized in that The single sign-on device is further used to obtain the priority of the first application system and the second application system after determining the second application system according to the login request; In the case where the security level of the first application system is greater than or equal to that of the second application system, the single sign-on device obtains the user authority information and generates a system authentication code according to the login request; In the case that the security level of the first application system is lower than that of the second application system, the single sign-on server sends security level authentication failure information to the client device, and the client device renders and generates a first authentication failure interface based on the security level authentication failure information.
8. The system according to claim 6, It is characterized in that When the user authority information does not include the authority requirement information of the second application system, the single sign-on device sends authority authentication failure information to the client device, and the client device renders and generates a second authentication failure interface based on the authority authentication information.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the single sign-on method in the multi-application system according to any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, a single sign-on method in a multi-application system as described in any one of claims 1 to 5 is implemented.
