IP Library › Granted Patent US 11,122,035
Granted Patent B2
US 11,122,035 · App. 16/288,515 · Granted Sep 14, 2021

Secure delegation of a refresh token for long-running operations

Inventor: Martin Smolny (Boeblingen, DE)
Assignee: International Business Machines Corporation
H04L63/0853H04L63/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,122,035
App. No.
16/288,515
Granted
Sep 14, 2021
Kind
B2
Abstract

A computer-implemented method for a token-based authorization in a data processing environment comprising a user system, an application server and an authorization server may be provided. The method comprises accessing the application via the user agent, sending an access token and a refresh token from the authorization server to the application, triggering an execution of the service providing the long-running operation by the application. The triggering comprises requesting and receiving a transferable refresh token, starting an execution of the service providing the long-running operation by passing the transferable refresh token together with the identifier from the application to the service providing the long-running operation, passing the transferable refresh token from the long-running service to the authorization server, receiving an access and refresh token, and continuing the long running service.

Claims (46)

1. A computer-implemented method for a token-based authorization, the method comprising:

determining, by one or more processors, that an authorization protocol utilized by an application successfully executes, wherein the successful execution of the authorization protocol further comprises:

obtaining by one or more processors, a first access token and a corresponding first refresh token from an authorization server to the application, wherein the first access token and the corresponding first refresh token differ from tokens utilized by one or more services and respective long-running operations to access a resource server; and

obtaining, by one or more processors, a transferable access token corresponding to a service providing a long-running operation; and

triggering, by one or more processors, an execution of the service providing the respective long-running operation utilized by the application, utilizing the transferable access token.

2. The method of claim 1 , wherein obtaining the transferable access token corresponding to the service providing the respective long-running operation further comprises:

sending, by one or more processors, a request to create the transferable refresh token corresponding to at least a respective service, to the authorization server; and

responsive to sending the request to create the transferable refresh token corresponding to at least the respective service, receiving, by one or more processors, at the application, the transferable refresh token corresponding to at least the respective service created by the authorization server, wherein the transferable refresh token comprises at least a second refresh token and an identifier corresponding to the respective service that provides the long-running operation.

3. The method of claim 1 , wherein triggering the execution of the service providing the respective long-running operation utilized by the application further comprises:

passing, by one or more processors, to the service, the transferable refresh token together with the identifier corresponding to the service providing the respective long-running operation for subsequent validation by the authorization server.

4. The method of claim 1 , wherein the transferable refresh token includes an expiry time of the corresponding first refresh token and a separate expiry time, different from the expiry time of the corresponding first refresh token.

5. The method of claim 2 , wherein the request to create the transferable refresh token further includes the corresponding first refresh token and the identifier corresponding to the respective of the service that executes the long-running operation.

6. The method of claim 1 , wherein the long-running operation runs longer than the first access token expiration time of the application.

7. The method of claim 1 :

wherein the long-running operation an operation selected from the group consisting of a data analytic process, a data transfer process, a backup process, a data reorganization, and a process of a neural network; and

wherein the authorization server is a server that provides authorization services according to OAuth 2.0 protocol.

8. The method of claim 2 , wherein the transferable refresh token further includes a user identifier and an expiry time of the respective service providing the long-running operation.

9. A computer program product for a token-based authorization, the computer program product comprising:

one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:

program instructions to determine that an authorization protocol utilized by an application successfully executes, wherein the successful execution of the authorization protocol further comprises:

program instructions to obtain a first access token and a corresponding first refresh token from an authorization server to the application, wherein the first access token and the corresponding first refresh token differ from tokens utilized by one or more services and respective long-running operations to access a resource server; and

program instructions to obtain a transferable access token corresponding to a service providing a long-running operation; and

program instructions to trigger an execution of the service providing the respective long-running operation utilized by the application, utilizing the transferable access token.

10. The computer program product of claim 9 , wherein the program instructions to obtain the transferable access token corresponding to the service providing the respective long-running operation, further comprise program instructions to:

send a request to create the transferable refresh token corresponding to at least a respective service, to the authorization server; and

receive the transferable refresh token from the authorization server by the application, wherein the transferable refresh token comprises at least a refresh token and the identifier for the service that provides the long-running operation.

11. The computer program product of claim 9 , wherein the program instructions to trigger the execution of the service providing the respective long-running operation utilized by the application, further comprise program instructions to:

pass, to the service, the transferable refresh token together with the identifier corresponding to the service providing the respective long-running operation from the for subsequent validation by to the authorization server.

12. The computer program product of claim 9 , wherein the long-running operation runs longer than the first access token expiration time of the application.

13. A computer system for a token-based authorization, the computer system comprising:

one or more computer processors;

one or more computer readable storage media; and

program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:

program instructions to determine that an authorization protocol utilized by an application successfully executes, wherein the successful execution of the authorization protocol further comprises:

program instructions obtain a first access token and a corresponding first refresh token from an authorization server to the application, wherein the first access token and the corresponding first refresh token differ from tokens utilized by one or more services and respective long-running operations to access a resource server; and

program instructions to obtain a transferable access token corresponding to a service providing a long-running operation; and

program instructions to trigger an execution of the service providing the respective long-running operation utilized by the application, utilizing the transferable access token.

14. The computer system of claim 13 , wherein the program instructions to obtain the transferable access token corresponding to the service providing the respective long-running operation, further comprise program instructions to:

send a request to create the transferable refresh token corresponding to at least a respective service, to the authorization server; and

receive the transferable refresh token from the authorization server by the application, wherein the transferable refresh token comprises at least a refresh token and the identifier for the service that provides the long-running operation.

15. The computer system of claim 13 , wherein the program instructions to trigger the execution of the service providing the respective long-running operation utilized by the application, further comprise program instructions to:

pass, to the service, the transferable refresh token together with the identifier corresponding to the service providing the respective long-running operation from the for subsequent validation by to the authorization server.

16. The computer system of claim 13 , wherein the long-running operation runs longer than the first access token expiration time of the application.

17. The method of claim 1 , wherein each transferable access token is exclusively bound to a respective service via at least an identifier corresponding to the service that provides the respective long-running operation and an identifier corresponding to the application that utilizes the service.

18. The method of claim 1 , wherein triggering the execution of the service providing the respective long-running operation utilized by the application frees the application from subsequent authorization operations related to the service until a result is obtained from the service performing the respective long-running operation.

19. The computer program product of claim 9 , wherein each transferable access token is exclusively bound to a respective service via at least an identifier corresponding to the service that provides the respective long-running operation and an identifier corresponding to the application that utilizes the service.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 28, 2019
From: SMOLNY, MARTIN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 048466/0758 →
Priority Claims (1)
EP 18174048 · May 24, 2018 · regional
Continuity (1)
Related Publication 20190364035A1 · Nov 28, 2019
Cited By (3)
US 12,219,065 US 12,483,410 US 12,750,226