Authentication system
Information relaying through the global ID platform simplifies the information exchange between authentication servers, solves the problem of complexity of linkage between authentication servers under the OIDC protocol, reduces system construction and maintenance costs, and improves the ease of system construction.
Patent Information
- Application Number
- CN202210393003.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-04-20
- Filing Date
- 2022-04-14
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-04-14
AI Technical Summary
In a multi-service environment, when using the OIDC protocol to realize linkage between authentication servers, the complexity of the system leads to increased development and maintenance time and costs.
By introducing the global ID platform for information relay, the information exchange between authentication servers is simplified, and the information exchange between the authentication server and the global ID platform is realized, thereby omitting direct information exchange and simplifying the system structure.
It reduces the complexity of linkage between authentication servers, improves the system's ease of construction and maintenance efficiency, and reduces development and maintenance costs.
Smart Images

Figure CN115225306B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an authentication system. Background Art
[0002] Japanese Patent Application Laid-Open No. 2020-36234 discloses an authorization system including an authentication and authorization server, a resource server providing a Web service, and a client device. In this authorization system, the client uses an access token obtained from the authentication and authorization server to receive provision of a Web service from the resource server. Summary of the invention
[0003] In recent years, ID linkage, which enables a client to log in to multiple services on the Internet using one ID, has attracted attention. ID linkage is implemented using protocols such as OIDC (Open ID Connect).
[0004] When there are many services that perform ID linkage, the number of authentication servers corresponding to the servers of each service also increases. Therefore, when the OIDC protocol is used to make the authentication servers linked to each other, the system may become complicated. The complexity of the system will increase the time and cost required for system development and maintenance.
[0005] The present disclosure realizes linkage between authentication servers through a relatively simple configuration.
[0006] A technical solution of the present disclosure relates to an authentication system comprising: a terminal device for user operation; a first server storing identification information for identifying the user; a second server not storing the identification information; and a platform configured to relay information between the first server and the second server. The platform is configured to relay the authentication request from the second server to the first server when there is an authentication request of the user from the terminal device to the second server, and relay the authentication result of the first server for the authentication request from the first server to the second server.
[0007] According to the above configuration, the platform relays the information exchange between the first server and the second server. Therefore, it is sufficient to construct a system in which the first server and the second server can each exchange information with the platform. Thus, compared with the case of constructing a system in which servers exchange information with each other, the authentication system can be easily constructed.
[0008] In the above technical solution, the terminal device may also include a display unit. The terminal device may also display a screen for accepting authentication on the display unit, and the screen may display a first button and a second button. When the first button is pressed, the second server may authenticate the user, and when the second button is pressed, the authentication request may be relayed from the second server to the first server through the platform, and the first server may authenticate the user.
[0009] According to the above configuration, the display unit of the terminal device displays a first button for accepting direct authentication in the second server and a second button for accepting authentication in the first server via information relay of the platform. The user can visually recognize that there are two authentication methods, which can improve user convenience.
[0010] In the above technical solution, the first server may store user information related to the user, and the second server may not store the user information. The platform may also be configured to: when the authentication result indicates that the authentication is successful, send a consent request to the terminal device, the consent request is a request for consent to share the user information with the second server, and when the consent request is agreed to by the terminal device, relay the user information from the first server to the second server.
[0011] According to the above configuration, the platform also relays the transmission of user information. By setting the configuration in which the platform relays information exchanged between the first server and the second server, the authentication system can be configured to be simpler than a system in which servers exchange information with each other.
[0012] In the above technical solution, the second server may also be configured to send an authorization code to the terminal device when obtaining consent to the consent request from the terminal device.
[0013] In the above technical solution, the terminal device may also be configured to send an authorization code to the second server and obtain a token from the second server. The token may also include at least an access token and an ID token.
[0014] According to the present disclosure, linkage between authentication servers can be realized with a relatively simple configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Features, advantages, and technical and industrial significance of exemplary embodiments of the present invention will be described below with reference to the accompanying drawings, wherein like reference numerals represent like elements, and wherein:
[0016] Figure 1 It is a diagram showing a schematic configuration of an authentication system according to an embodiment.
[0017] Figure 2This is a diagram for explaining the configuration of an authentication server.
[0018] Figure 3 This is a diagram for explaining the configuration of an authentication server.
[0019] Figure 4 This is a flowchart (part 1) showing the procedure of the login process to the first service (backend server).
[0020] Figure 5 This is a flowchart (part 2) showing the procedure of the login process to the first service (backend server).
[0021] Figure 6 This is a diagram showing an example of a login screen for a first service displayed on a terminal device.
[0022] Figure 7 This is a flowchart showing the procedure of the global registration process (part 1).
[0023] Figure 8 This is a flowchart showing the procedure of the global registration process (part 2).
[0024] Fig. 9 This is a flowchart showing the steps of the global registration process (part 3).
[0025] Fig.10 This is a diagram showing an example of a login screen for the third service displayed on the terminal device.
[0026] Fig.11 This is a diagram showing an example of a selection screen displayed on a terminal device.
[0027] Fig.12 This is a diagram schematically showing the configuration of a service providing system according to Modification 1. DETAILED DESCRIPTION
[0028] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In addition, the same reference numerals are given to the same or corresponding parts in the drawings, and their description will not be repeated.
[0029] Figure 1 1 is a diagram showing a schematic structure of an authentication system 1 according to the present embodiment. The authentication system 1 according to the present embodiment is a system for linking IDs (user IDs) between services operated in different countries. The authentication system 1 enables ID linkage with a relatively simple structure by exchanging information between authentication servers in different countries via a common platform.
[0030] Reference Figure 1The authentication system 1 includes service provision systems 10 to 40, a global ID platform 50, and a terminal device 70 owned by a user 71. The service provision systems 10 to 40, the global ID platform 50, and the terminal device 70 are connected to each other via a network 60 such as the Internet so as to be able to communicate with each other.
[0031] Service providing systems 10 to 40 are systems for providing automobile-related services in countries A to D, respectively.
[0032] The service providing system 10 provides automobile-related services in Country A. In the present embodiment, the service providing system 10 provides two services, namely, a first service and a second service. The first service is a subscription service in which a user pays a fixed monthly fee to use a vehicle during a contract period. The fixed fee for the first service also includes, for example, vehicle maintenance costs and automobile insurance premiums. The second service is a vehicle sharing service in which members use a specific vehicle together. In addition, the services provided by the service providing system 10 are not limited to the first service and the second service described above. The service providing system 10 may also provide other services on the basis of the first service and the second service, instead of the first service and the second service, or instead of either the first service and the second service.
[0033] The service providing system 10 includes an authentication server 11 and backend servers 12 and 13. The authentication server 11 is a server for authenticating a user who has registered as a member of the first service and / or the second service. The authentication server 11 has a function as an open ID provider. The detailed structure of the authentication server 11 will be described later. Figure 2 The authentication server 11 is an example of the “first server” in the present disclosure.
[0034] The backend server 12 is a server that provides the first service. The service provider (not shown) of the backend server 12 provides an application 73 for receiving the provision of the first service in a market or the like. The backend server 12 receives a user operation via the application 73 from a terminal device (e.g., a smartphone, a personal computer, etc.) on which the application 73 is installed, and executes a process for providing a service corresponding to the operation.
[0035] The backend server 13 is a server that provides the second service. A service provider (not shown) of the backend server 13 provides an application (not shown) for receiving provision of the second service in a market or the like. The backend server 13 receives a user operation via the application from a terminal device on which the application for receiving provision of the second service is installed, and executes a process for providing a service corresponding to the operation.
[0036] The terminal device 70 is a smartphone owned by a user 71. In addition, the terminal device 70 is not limited to a smartphone, and may be, for example, a desktop PC (Personal Computer), a notebook PC, a tablet terminal, or other information processing terminal with a communication function. The terminal device 70 involved in this embodiment has an application 73 installed for utilizing the first service.
[0037] User 71 is a user who has registered as a member of the first service provided by the back-end server 12. User 71 has an ID (user ID) and a password for logging into the first service. The password is, for example, a password set by user 71 when registering as a member of the first service. User 71 starts application 73 in terminal device 70, so that a login screen for the first service (back-end server 12) is displayed, and inputs the user ID and password using the displayed login screen. The input information is sent to the authentication server 11. The authentication server 11 performs authentication of the user ID, and when the authentication is successful, user 71 can receive the provision of the first service from the back-end server 12.
[0038] The service providing system 20 provides automobile-related services in country B. In the present embodiment, the service providing system 20 provides three services, namely, the third service, the fourth service, and the fifth service. The third service is a subscription service similar to the first service. The fourth service is a vehicle sharing service similar to the second service. The fifth service is a carpooling service that allows multiple people to ride in one vehicle together when commuting to and from get off work. In addition, the services provided by the service providing system 20 are not limited to the third service, the fourth service, and the fifth service described above. The service providing system 20 may also provide other services on the basis of the third service, the fourth service, and the fifth service, or in place of the third service, the fourth service, and the fifth service, or in place of any of the third service, the fourth service, and the fifth service.
[0039] The service providing system 20 includes an authentication server 21 and backend servers 22, 23, and 24. The authentication server 21 is a server for authenticating a user who has registered as a member of the third service, the fourth service, and / or the fifth service. The authentication server 21 has a function as an open ID provider. The detailed structure of the authentication server 21 will be described later. Figure 3 The authentication server 21 is an example of the “second server” in the present disclosure.
[0040] The backend server 22 is a server that provides the third service. The service provider (not shown) of the backend server 22 provides an application 74 for receiving the provision of the third service in a market or the like. The backend server 22 receives a user operation via the application 74 from a terminal device on which the application 74 is installed, and executes a process for providing a service corresponding to the operation.
[0041] The backend server 23 is a server that provides the fourth service. A service provider (not shown) of the backend server 23 provides an application (not shown) for receiving provision of the fourth service in a market or the like. The backend server 23 receives a user operation via the application from a terminal device on which the application for receiving provision of the fourth service is installed, and executes a process for providing a service corresponding to the operation.
[0042] The backend server 24 is a server that provides the fifth service. A service provider (not shown) of the backend server 24 provides an application (not shown) for receiving provision of the fifth service in a market or the like. The backend server 24 receives a user operation via the application from a terminal device on which the application for receiving provision of the fifth service is installed, and executes a process for providing a service corresponding to the operation.
[0043] The service providing system 30 provides automobile-related services in Country C. Although not shown in the figure, the service providing system 30 includes an authentication server and at least one backend server.
[0044] The service providing system 40 provides automobile-related services in Country D. Although not shown in the figure, the service providing system includes an authentication server and at least one backend server.
[0045] Figure 2 1 is a diagram for explaining the configuration of the authentication server 11. Figure 2 The authentication server 11 includes a control device 111, a ROM (Read Only Memory) 112, a RAM (Random Access Memory) 113, a communication device 114, and a storage device 115. The control device 111, the ROM 112, the RAM 113, the communication device 114, and the storage device 115 are connected to a bus 117.
[0046] The control device 111 is composed of, for example, an integrated circuit including a CPU (Central Processing Unit). The control device 111 expands various programs stored in the ROM 112 to the RAM 113 for execution. The various programs include an operating system, etc. The RAM 113 functions as a working memory to temporarily store various data required for the execution of various programs. The control device 111 manages, authenticates, and / or authorizes information related to a user (hereinafter also referred to as "user information"), for example, a user who has registered as a member of the first service or the second service.
[0047] The communication device 114 includes an interface for connecting to the network 60, and is configured to be able to communicate with external devices via the network 60. The external devices include, for example, the global ID platform 50 and the terminal device 70.
[0048] The storage device 115 is composed of a storage medium such as a hard disk or a flash memory. The storage device 115 stores user information 1151 and 1152. The user information 1151 is information related to the user who has registered as a member of the first service. The user information 1152 is information related to the user who has registered as a member of the second service. The user information 1151 includes the user ID assigned when the member registered for the first service, and the personal information entered by the user when the member registered. The personal information includes, for example, information such as name, email address, telephone number, address, password, etc. The password is set by the user when registering as a member, or is set by the control device 111. The user information 1152 includes the user ID assigned when the member registered for the second service, and the personal information entered by the user when the member registered. In addition, the storage device storing the user information 1151 and the storage device storing the user information 1152 can also be set separately.
[0049] The control device 111 includes a user information management unit 1111, an authentication authorization unit 1112, and a global authentication unit 1113. The control device 111 functions as the user information management unit 1111, the authentication authorization unit 1112, and the global authentication unit 1113, for example, by executing a program stored in the ROM 112. In addition, the user information management unit 1111, the authentication authorization unit 1112, and the global authentication unit 1113 may also be implemented by dedicated hardware (electronic circuit), for example.
[0050] The user information management unit 1111 allocates a user ID corresponding to the service (the first service or the second service) for which the user has registered as a member to the user who has registered as a member for the first service or the second service. Specifically, the user information management unit 1111 allocates the user ID of the first service to the user who has registered as a member for the first service. The user information management unit 1111 stores the allocated user ID of the first service and the input personal information as user information 1151 in the storage device 115. The user information management unit 1111 allocates the user ID of the second service to the user who has registered as a member for the second service. The user information management unit 1111 stores the allocated user ID of the second service and the input personal information as user information 1152 in the storage device 115.
[0051] The user information management unit 1111 determines whether the user has registered for the first service or the second service based on which application the user has registered for membership, the application 73 corresponding to the first service or the application corresponding to the second service. For example, when the user has registered for membership via the application 73 corresponding to the first service, the user information management unit 1111 determines that the user has registered for membership of the first service and stores the input information as user information 1151. In addition, in order to determine the correspondence between the application and the service, a service ID for identifying the first service and the second service may be imported, and a service ID may be assigned to the application, service, and user information. In this case, the user information management unit 1111 determines the service that is the subject of membership registration based on the service ID assigned to the application used in the membership registration.
[0052] When the user 71 performs a registration operation to the first service or the second service via the corresponding application, the authentication and authorization unit 1112 verifies the validity of the input user ID. For example, when the authentication and authorization unit 1112 receives a login request for the first service from the terminal device 70 (browser) of the user 71 via the application 73, the terminal device 70 displays the login screen for the first service. When the user ID and password are input in the login screen, the authentication and authorization unit 1112 compares the user ID and password with the user information 1151 stored in the storage device 115 to authenticate the user 71 (user ID). In addition, the authentication and authorization unit 1112 can also identify that the user information being compared is the user information 1151 by determining the service ID based on the application 73 operated by the user 71.
[0053] When the authentication and authorization unit 1112 confirms the validity of the user ID, it returns an authorization code to the terminal device 70. When the authentication and authorization unit 1112 receives a token request with an authorization code added from the terminal device 70, it returns a token to the application. The token includes, for example, an access token, an ID token, and a refresh token. For example, the application 73 that receives the token can use the access token and the ID token to access the backend server 12. As a result, the user 71 can receive the provision of the first service.
[0054] The global authentication unit 1113 functions to perform ID linkage between the service (the first service or the second service) provided by the service providing system 10 and the services provided by other service providing systems 20 to 40. The details will be described later, but when there is a login request for the service provided by other service providing systems 20 to 40 using the user ID of the service (the first service or the second service) provided by the service providing system 10, the global authentication unit 1113 verifies the validity of the user ID. In addition, in the following, the login to the service provided by other service providing systems using the user ID of the service provided by a certain service providing system is also referred to as "global login".
[0055] Figure 3 2 is a diagram for explaining the configuration of the authentication server 21. Figure 3 , the authentication server 21 includes a control device 211, a ROM 212, a RAM 213, a communication device 214, and a storage device 215. The control device 211, the ROM 212, the RAM 213, the communication device 214, and the storage device 215 are connected to a bus 217. The control device 211, the ROM 212, the RAM 213, the communication device 214, and the storage device 215 are substantially the same as the control device 111, the ROM 112, the RAM 113, the communication device 114, and the storage device 115 of the authentication server 11, except for the information stored in the storage device 215, and therefore, the description thereof will not be repeated.
[0056] The storage device 215 stores user information 2151, 2152, and 2153. The user information 2151 is information about a user who has registered as a member of the third service. The user information 2152 is information about a user who has registered as a member of the fourth service. The user information 2153 is information about a user who has registered as a member of the fifth service.
[0057] Furthermore, the authentication servers of the service providing systems 30 and 40 also have basically the same configuration as the authentication servers 11 and 21 of the service providing systems 10 and 20. Therefore, detailed description of the authentication servers of the service providing systems 30 and 40 will not be repeated.
[0058] Next, a description will be given of a procedure for logging into the first service by a user 71 who has registered as a member of the first service. The user 71 activates the application 73 on the terminal device 70 on which the application 73 is installed, and logs into the first service.
[0059] Figure 4 and Figure 5 This is a flowchart showing the procedure of the login process to the first service (backend server 12). Figure 4 and Figure 5 The process of the flowchart is started when the user 71 starts the application 73 in the terminal device 70. Figure 4 and Figure 5 The steps of the flowchart shown (hereinafter the steps will be abbreviated as "S") are described as being implemented by software processing based on the terminal device 70, the authentication server 11 (the user information management unit 1111 and the authentication authorization unit 1112) and the back-end server 12, but part or all of them may also be implemented by hardware (electronic circuits) manufactured in the terminal device 70, the authentication server 11 and the back-end server 12.
[0060] In S1, the user 71 operates the terminal device 70 to start the application 73, and performs an operation to display a login screen (a screen for sending an authentication request) on the display screen of the terminal device 70. The application 73 accepts this operation.
[0061] In S2 and S3, when an operation for displaying the login screen is accepted, the application 73 requests the authentication server 11 to display the login screen via the browser of the terminal device 70. Specifically, in S2, the application 73 starts the browser of the terminal device 70 and redirects the browser to the authorization endpoint of the authentication server 11. In S3, the browser requests the authorization endpoint of the authentication server 11 to display the login screen.
[0062] In S4, the authentication server 11 verifies the content of the request and returns a login screen to the browser. As a result, the login screen to the first service (backend server 12) is displayed on the browser.
[0063] In S5, the user 71 inputs a user ID and a password on the login screen and presses a login button. As a result, an authentication request is transmitted from the browser to the authentication server 11 together with the user ID and the password.
[0064] Figure 681, a password input field 82, a login button 83, and a global login button 84 are displayed on the display unit 80 of the terminal device 70. The user 71 enters a user ID and a password in the user ID input field 81 and the password input field 82, respectively, and presses the login button 83. As a result, an authentication request is sent from the browser to the authentication server 11 together with the entered user ID and password. That is, the login button 83 is a button for accepting direct authentication in the authentication server 11.
[0065] The global login button 84 is used when requesting login to the first service using a user ID of a service other than the first service. The details of the global login button 84 will be described later. That is, the global login button 84 is a button for accepting authentication in an authentication server other than the authentication server 11. In addition, the login button 83 is equivalent to an example of the "first button" involved in the present disclosure. In addition, the global login button 84 is equivalent to an example of the "second button" involved in the present disclosure.
[0066] Refer again Figure 4 and Figure 5 In S6, the authentication server 11 verifies the input user ID and password. If the result of the verification is that at least one of the user ID and password is incorrect, the authentication server 11 executes the process of S7. If the result of the verification is that the user ID and password are correct, the authentication server 11 executes the process of S8.
[0067] In S7, the authentication server 11 returns a screen indicating that at least one of the user ID and the password is incorrect to the browser. By displaying this screen on the browser, the user 71 can recognize the input error.
[0068] In S8 , the authentication server 11 adds an authorization code and redirects the browser to a callback URL. The callback URL is redirected to the application 73 .
[0069] In S9, the browser adds the authorization code to access the application 73 as the transfer destination of the callback URL. Thus, the authorization code is handed over to the application 73.
[0070] In S10 , the application 73 adds the authorization code received in S9 and sends a token request to the token endpoint of the authentication server 11 .
[0071] In S11, the authentication server 11 verifies the content of the token request and sends the token to the application 73. The token sent from the authentication server 11 to the application 73 includes, for example, an access token, an ID token, and a refresh token.
[0072] In S12 , the application 73 adds the access token and the ID token, and requests the backend server 12 to provide the first service.
[0073] In S13 , upon receiving the access token and the ID token, the backend server 12 sends the access token and the ID token to the user information endpoint of the authentication server 11 .
[0074] In S14 , the authentication server 11 verifies the access token and the ID token, and returns the user information to the backend server 12 .
[0075] In S15 , the backend server 12 starts providing services to the user 71 .
[0076] By receiving authentication from the authentication server 11 as described above, the user 71 can log in to the first service for which he has registered as a member and receive provision of the first service from the backend server 12 .
[0077] Refer again Figure 1 , the global ID platform 50 is a platform for linking IDs between multiple services across countries. The global ID platform 50 has the function of relaying information. Correspondence information that associates services (backend servers) and authentication servers is stored in the global ID platform 50. The corresponding information is information that associates services and authentication servers, which are servers that authenticate users who have requested login to the service. Specifically, the first service and the authentication server 11 are associated in the corresponding information. In addition, the second service and the authentication server 11 are associated in the corresponding information. In addition, the third service and the authentication server 21 are associated in the corresponding information. In addition, the fourth service and the authentication server 21 are associated in the corresponding information. In addition, the fifth service and the authentication server 21 are associated in the corresponding information. The global ID platform 50 determines the relay destination of the information based on the corresponding information.
[0078] The global ID platform 50 enables login (global login) to services provided by other service providing systems using a user ID of a service provided by a certain service providing system by relaying the exchange of information between each service providing system 10 to 40 and the terminal device 70. That is, if the user 71 has registered as a member of a service provided by a certain service providing system, the user ID can be used to access and utilize the services provided by other service providing systems without registering as a member of the services provided by other service providing systems.
[0079] For example, in order to use the third service provided by the service providing system 20 in country B when the user 71 visits country B, the user 71 needs to install the application 74 corresponding to the third service on the terminal device 70, input the personal information of the user 71 on the member registration page, and register as a member for the third service. It is troublesome for the user 71 to register as a member for each service to be used, which will impair the convenience of the user 71.
[0080] For example, it is also considered to build a system for ID linkage between authentication servers of various service providing systems by using protocols such as OIDC, so that IDs are linked between authentication servers of various service providing systems. However, when there are many authentication servers to be linked, the system may become complicated. The complexity of the system will increase the time and cost required for system development and maintenance.
[0081] Therefore, in the authentication system 1 involved in the present embodiment, by setting up a global ID platform 50 that relays information, it is possible to perform global login without direct information exchange between authentication servers. Thus, from the perspective of the authentication server of a certain service provider system, through information processing with the global ID platform 50, ID linkage with multiple other authentication servers becomes possible. That is, it is sufficient to build a system that can exchange information between the authentication server and the global ID platform 50. Therefore, compared with the case of building a system that directly exchanges information between the authentication servers of each service provider system to perform ID linkage, the system structure can be simplified. The following is a specific description of global login. In the following, as an example, it is assumed that user 71 uses the user ID of the first service to log in to the third service provided by the service provider system 20. User 71 has not registered as a member of the third service. Therefore, the user ID of the third service is not issued to user 71.
[0082] First, the user 71 installs the application 74 for using the third service in the terminal device 70. Then, when the user 71 starts the application 74 in the terminal device 70, Figure 7 to Figure 9 The indicated processing starts.
[0083] Figure 7 to Figure 9 This is a flowchart showing the steps of the global registration process. Figure 7 to Figure 9 The process of the flowchart starts when the user 71 starts the application 74 in the terminal device 70. Figure 7 to Figure 9The steps of the flowchart shown are explained by being implemented by software processing based on the terminal device 70, the authentication server 11 (user information management unit 1111 and the authentication authorization unit 1112), the authentication server 21 (global authentication unit 2113), the back-end server 22 and the global ID platform 50, but part or all of them can also be implemented by hardware (electronic circuits) made in the terminal device 70, the authentication server 11, the authentication server 21, the back-end server 22 and the global ID platform 50.
[0084] In S20, the user 71 operates the terminal device 70 to start the application 74, and performs an operation to display a login screen on the display screen of the terminal device 70. The application 74 accepts this operation.
[0085] In S21 and S22, when an operation for displaying the login screen is accepted, the application 74 requests the authentication server 21 of the service providing system 20 to display the login screen via the browser of the terminal device 70. Specifically, in S21, the application 74 starts the browser of the terminal device 70 and redirects the browser to the authorization endpoint of the authentication server 21. In S22, the browser requests the authorization endpoint of the authentication server 21 to display the login screen.
[0086] In S23 , the authentication server 21 verifies the content of the request and returns a login screen to the browser.
[0087] In S24, the user 71 selects the global login button 88 in the login screen. As a result, a request for global login is sent from the browser to the authentication server 21.
[0088] Fig.10 85, a password input field 86, a login button 87, and a global login button 88 are displayed on the display unit 80 of the terminal device 70. The user ID input field 85, the password input field 86, and the login button 87 are displayed on the display unit 80 of the terminal device 70. Figure 6 The description in is the same, and is used when the user 71 logs in to the third service using the issued user ID and password in order to use the third service. When the user 71 has registered as a member of the third service, the user ID and password of the third service are input in the user ID input field 85 and the password input field 86, respectively, and the login button 87 is pressed. That is, the login button 87 is a button for accepting direct authentication in the authentication server 21.
[0089] The global login button 88 is a button for logging into the third service through ID linkage. That is, the global login button 88 is a button for logging into the third service using the user ID of a service other than the third service. In other words, the global login button 88 is a button for accepting authentication in an authentication server other than the authentication server 21. As in this example, the global login button 88 is used when the user 71 who has not registered as a member of the third service wants to log in to the third service. In addition, the login button 87 is equivalent to an example of the "first button" involved in the present disclosure. In addition, the global login button 88 is equivalent to an example of the "second button" involved in the present disclosure.
[0090] Reference Figure 7 to Figure 9 In S25 , when the authentication server 21 receives the request for global login, it redirects the browser to the global login endpoint of the global ID platform 50 .
[0091] In S26 , the browser requests global login to the global login endpoint of the global ID platform 50 .
[0092] In S27, the global ID platform 50 verifies the content of the request and returns a selection screen to the browser. The selection screen is a screen for selecting a user ID to be used in global login. In this embodiment, the user 71 uses the user ID of the first service, so he selects "Country A" and "First Service" in the selection screen.
[0093] Fig.11 8 is a diagram showing an example of a selection screen displayed on the terminal device 70. A country selection column 91, a service selection column 92, and a selection (decision) button 93 are displayed on the display unit 80 of the terminal device 70. The user 71 selects which service user ID to use for global login. Here, the user 71 uses the user ID of the first service of country A to log in to the third service, so the user selects country A in the country selection column 91, selects the first service in the service selection column 92, and presses the selection button 93.
[0094] Refer again Figure 7 to Figure 9 In S28, the information (country A and first service) input by the user 71 is sent to the global ID platform 50 as a request.
[0095] In S29, when the request is received, the global ID platform 50 determines the authentication server that performs authentication of the user ID used in the global login based on the content of the request, and redirects the browser to the authentication server. Specifically, the global ID platform 50 determines the authentication server 11 of the service providing system 10 including the backend server 12 that provides the first service based on the information of "country A" and "first service". The global ID platform 50 redirects the browser to the authentication server 11. For example, the global ID platform 50 can also use the corresponding information to determine the authentication server.
[0096] In S30 , the browser requests the authentication server 11 to display a login screen for the first service.
[0097] In S31 , the authentication server 11 verifies the content of the request and returns a login screen for the first service to the browser.
[0098] In S32, the user 71 enters the user ID and password of the first service in the login screen. Figure 6 screen, and other screens for global login can also be displayed.
[0099] In S33, the authentication server 11 verifies the input user ID and password. If the verification result confirms that the user ID and password are correct, the authentication server 11 returns the verification result to the global ID platform 50. Specifically, the authentication server 11 redirects the browser to the global ID platform 50.
[0100] In S34 , the browser adds the verification result and accesses the global ID platform 50 .
[0101] Furthermore, in S33 , when at least one of the user ID and the password is incorrect, the authentication server 11 returns a verification result indicating that at least one of the user ID and the password is incorrect to the global ID platform 50 .
[0102] In S35, the global ID platform 50 sends a request to the user 71 (browser) for approval of the request for transmission of the user information 1151 from the authentication server 11 to the authentication server 21. As a result, for example, a screen requesting permission for transmission of the user information 1151 is displayed on the display unit 80 of the terminal device 70. The user 71 can agree to the transmission of the user information 1151 by pressing an approval button (not shown) displayed on the display unit 80.
[0103] In S36 , the user 71 agrees to the transmission of the user information 1151 and presses an agreement button (not shown) displayed on the display unit 80 of the terminal device 70 . As a result, the user 71 's agreement information is transmitted from the browser to the global ID platform 50 .
[0104] In S37 and S38, the global ID platform 50 sends the consent information to the authentication server 21. Specifically, in S37, the global ID platform 50 redirects the browser to the authentication server 21. In S38, the browser adds the consent information to access the authentication server 21.
[0105] In S39 , the authentication server 21 adds the authorization code and redirects the browser to the callback URL. The transfer destination of the callback URL is the application 74 .
[0106] In S40 , the browser adds the authorization code to access the application 74 that is the transfer destination of the callback URL. Thus, the authorization code is handed over to the application 74 .
[0107] In S41 , the application 74 adds the authorization code received in S40 and sends a token request to the token endpoint of the authentication server 21 .
[0108] In S42, the authentication server 21 verifies the content of the token request and sends the token to the application 74. The token sent from the authentication server 21 to the application 74 includes, for example, an access token, an ID token, and a refresh token.
[0109] In S43 , the application 74 adds the access token and the ID token, and requests the backend server 22 to provide the third service.
[0110] In S44 , upon receiving the access token and the ID token, the backend server 22 sends the access token and the ID token to the user information endpoint of the authentication server 21 .
[0111] In S45 , the authentication server 21 verifies the access token and the ID token, and returns the user information 1151 of the user 71 to the backend server 22 .
[0112] In S46, the backend server 22 starts providing the service to the user 71. In this way, the user 71 who has not registered as a member of the third service can log in to the third service using the user ID of the first service for which the user has registered as a member.
[0113] The user information 1151 of the user 71 is shared with the authentication server 21 via the global ID platform 50 through the processes of S50 to S52 after the process of S36 is executed and before the process of S44 is executed. During the period from the process of S36 to the process of S44, the global ID platform 50 obtains the user information 1151 of the user 71 from the authentication server 11 and sends the obtained user information 1151 of the user 71 to the authentication server 21.
[0114] In S50 , when obtaining the consent information of the user 71 , the global ID platform 50 requests the authentication server 11 to transmit the user information 1151 of the user 71 .
[0115] In S51 , the authentication server 11 reads the user information 1151 of the user 71 from the storage device 115 , and transmits the read user information 1151 of the user 71 to the global ID platform 50 .
[0116] In S52 , the global ID platform 50 sends the user information 1151 of the user 71 to the authentication server 21 .
[0117] The processing of S50 to S52 may be performed after the processing of S36 is performed and before the processing of S44 is performed. The timing of performing the processing of S50 to S52 is not limited to Figure 7 to Figure 9 Timing shown.
[0118] As described above, the authentication system 1 according to the present embodiment can realize global login without directly exchanging information between authentication servers by having a global ID platform 50 that relays information. Thus, it is sufficient to construct a system that can exchange information between the authentication server and the global ID platform 50, thereby simplifying the system configuration compared to a system that directly exchanges information between authentication servers of each service provider system to perform ID linkage.
[0119] In addition, a login button (e.g., login buttons 83 and 87) and a global login button (e.g., global login buttons 84 and 88) are displayed on the login screen for each service (e.g., the first service and the third service) displayed on the display unit 80 of the terminal device 70. By displaying the two buttons, the user 71 can visually recognize that the login button is pressed when logging into a service for which member registration has been performed, and the global login button is pressed when performing global login for a service for which member registration has not been performed. By displaying the login button and the global login button on the login screen, the convenience of the user 71 can be improved.
[0120] [Modification 1]
[0121] In the embodiment, an example in which the authentication server stores and manages user information has been described. However, a server separate from the authentication server may also have the function of managing user information.
[0122] Fig.12 This is a diagram schematically showing the configuration of a service providing system 10A according to Modification 1. The service providing system 10A is a system that replaces the service providing system 10 according to the embodiment. In the following, the configuration of the service providing system 10A is described as a representative example, but the same configuration can be adopted for the service providing systems in countries B to D.
[0123] The service providing system 10A includes an information management server 11A, an authentication server 11B, and backend servers 12 and 13 .
[0124] The information management server 11A includes a control device 111A, a ROM, a RAM, a communication device, and a storage device 115A. Fig.12 The illustration of ROM, RAM and communication device is omitted.
[0125] The control device 111A includes a user information management unit 1111A. The control device 111A functions as the user information management unit 1111A by executing a program stored in a ROM, for example. The user information management unit 1111A may be realized by dedicated hardware (electronic circuit), for example.
[0126] The user information management unit 1111A has the same function as the user information management unit 1111 of the embodiment.
[0127] The storage device 115A is the same as the storage device 115 of the embodiment. The storage device 115A stores user information 1151 and 1152 .
[0128] The authentication server 11B includes a control device 111B, a ROM, a RAM, a communication device, and a storage device. Fig.12 ROM, RAM, communication device and storage device are omitted in the figure. User information 1151 and 1152 are not stored in the storage device of the authentication server 11B.
[0129] The control device 111B has an authentication authorization unit 1112B and a global authentication unit 1113B. The control device 111B functions as the authentication authorization unit 1112B and the global authentication unit 1113B by, for example, executing a program stored in a ROM. In addition, the authentication authorization unit 1112B and the global authentication unit 1113B may also be implemented by, for example, dedicated hardware (electronic circuit).
[0130] The authentication authority 1112B and the global authentication authority 1113B have the same functions as the authentication authority 1112 and the global authentication authority 1113 of the embodiment.
[0131] In the authentication system 1 , even if the configuration of the service providing system 10A is adopted, the same effects as those of the embodiment can be achieved.
[0132] [Modification 2]
[0133] In the embodiment, an example is described in which one authentication server (e.g., authentication server 11) is provided for a plurality of backend servers (e.g., backend servers 12 and 13), but an authentication server may also be provided for each backend server. In this case, each authentication server can exchange information with other authentication servers via the global ID platform, thereby achieving the same effect as in the embodiment.
[0134] The embodiments disclosed this time should be considered as illustrative in all aspects and non-restrictive. The scope of the present disclosure is indicated by the claims rather than the description of the embodiments described above, and is intended to include all modifications within the meaning and scope equivalent to the claims.
Claims
1. An authentication system, characterized in that: include: A user-operated terminal device; a first server storing identification information for identifying the user; a second server that does not store the identification information; as well as a platform configured to relay information between the first server and the second server, The platform is configured such that, when there is an authentication request of the user from the terminal device to the second server, relaying the authentication request from the second server to the first server, relaying the authentication result of the first server in response to the authentication request from the first server to the second server, The terminal device includes a display unit. The terminal device displays a screen for accepting authentication on the display unit, The screen displays a first button and a second button. When the second button is pressed, the authentication request is relayed from the second server to the first server via the platform, and the first server authenticates the user.
2. The authentication system according to claim 1, characterized in that: The first server stores user information related to the user, The second server does not store the user information. The platform is configured such that, when the authentication result indicates that the authentication is successful, sending a consent request to the terminal device, the consent request being a request for consent to share the user information with the second server, When the consent request is obtained from the terminal device, the user information is relayed from the first server to the second server.
3. The authentication system according to claim 2, characterized in that: The second server is configured to transmit an authorization code to the terminal device when obtaining consent to the consent request from the terminal device.
4. The authentication system according to claim 3, characterized in that: The terminal device is configured to: send the authorization code to the second server, obtain a token from the second server, The token includes at least an access token and an ID token.
