# US 2021/0288808 A1 · Secure token refresh

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0288808 A1
- Document ID: US20210288808A1
- Status: Published application
- Kind: A1
- Application number: 16/818,312
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: eBay Inc.
- Applicants: eBay Inc.
- Inventors: Anand Baldeodas BAHETY
- Web page: https://patentgrep.com/patent/US20210288808A1

## CPC

- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3073: {involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing}
- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- H04L 9/3247: {involving digital signatures}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 63/0846: {using time-dependent-passwords, e.g. periodically changing passwords}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Technologies are shown for secure token refresh where a client receives a first access token from an authentication service, generates an asymmetric key pair, stores the first access token in association with a private key, and sends a public key to the authentication service. The service stores the public key in association with the first access token. The client sends a refresh token request to the service with the first access token. The service responds with a verification request with proof data. The client signs the proof data with the private key and sends the signed proof data to the service. The service verifies the signed proof data using the public key associated with the first access token, creates a second access token that is stored in association with the public key, and sends the second access token to the client, which stores it in association with the private key.

## Claims

### Claim 1

A computer-implemented secure token refresh method, the method comprising:
by an authentication service, receiving a first message from a client with a first access token request and, in response, sending a message that includes a first access token to the client;
by the authentication service, receiving a second message that includes the first access token and a public key value; and
in response to receiving the second message, storing the public key value in association with the first access token.

### Claim 2 (depends on 1)

The secure token refresh method of claim 1, the method including:
by the authentication service, receiving a third message from the client with a refresh token request and the first access token and, in response, sending a reply message with a verification request to the client that includes first proof data;
by the authentication service, receiving a fourth message from the client with first signed proof data, where the first signed proof data was generated by the client signing the first proof data using a private key corresponding to the public key and the first access token and, in response:
verifying the first signed proof data with the public key stored in association with the first access token,
generating a second access token,
storing the second access token in association with the public key, and
sending a fifth message to the client with the second access token.

### Claim 3 (depends on 2)

The method of claim 2, the method including:
by the authorization service, periodically sending verification requests to the client with new proof data to maintain continuous authentication or perform trusted device management.

### Claim 4 (depends on 2)

The method of claim 2, the method including:
by the authorization service, sending verification requests to the client with new proof data based on one or more risk management criteria.

### Claim 5 (depends on 2)

The method of claim 2, the method including:
by the authorization service, determining the proof data on the basis of a content or type of transaction relating to the first access token request.

### Claim 6 (depends on 2)

The method of claim 2, wherein:
the authentication service comprises an OAuth protocol authentication service; and
the secure token refresh method comprises an extension of the OAuth 2.0 protocol.

### Claim 7 (depends on 2)

The method of claim 2, the method including:
in the authentication service,
determining that a verification is to be performed;
sending a sixth message to the client with a verification request that includes the first access token and second proof data;
receiving a seventh message from the client with second signed proof data, where the second signed proof data was generated by the client signing the second proof data using the private key corresponding to the public key and the first access token and, in response:
verifying the second signed proof data with the public key stored in association with the first access token,
if the verifying the second signed proof data fails, performing one of:
generating a verification failure alert or report, and
revoking authorization of the first access token.

### Claim 8

A system for secure token refresh, the system comprising:
one or more processors; and
one or more memory devices in communication with the one or more processors, the memory devices having computer-readable instructions stored thereupon that, when executed by the processors, cause the processors to perform a method for secure token refresh, the method comprising:
by an authentication service, receiving a first message from a client with a first access token request and, in response, sending a message that includes a first access token to the client;
by the authentication service, receiving a second message that includes the first access token and a public key value; and
in response to receiving the second message, storing the public key value in association with the first access token.

### Claim 9 (depends on 8)

The system of claim 8, where the secure token refresh method includes:
by the authentication service, receiving a third message from the client with a refresh token request and the first access token and, in response, sending a reply message with a verification request to the client that includes first proof data;
by the authentication service, receiving a fourth message from the client with first signed proof data, where the first signed proof data was generated by the client signing the first proof data using a private key corresponding to the public key and the first access token and, in response:
verifying the first signed proof data with the public key stored in association with the first access token,
generating a second access token,
storing the second access token in association with the public key, and
sending a fifth message to the client with the second access token.

### Claim 10 (depends on 9)

The system of claim 9, where the secure token refresh method includes:
by the authorization service, periodically sending verification requests to the client with new proof data to maintain continuous authentication or perform trusted device management.

### Claim 11 (depends on 9)

The system of claim 9, where the secure token refresh method includes:
by the authorization service, sending verification requests to the client with new proof data based on one or more risk management criteria.

### Claim 12 (depends on 9)

The system of claim 9, where the secure token refresh method includes:
by the authorization service, determining the proof data on the basis of a content or type of transaction relating to the first access token request.

### Claim 13 (depends on 9)

The system of claim 9, wherein:
the authentication service comprises an OAuth protocol authentication service; and
the secure token refresh method comprises an extension of the OAuth 2.0 protocol.

### Claim 14 (depends on 9)

The system of claim 9, where the secure token refresh method includes:
in the authentication service,
determining that a verification is to be performed;
sending a sixth message to the client with a verification request that includes the first access token and second proof data;
receiving a seventh message from the client with second signed proof data, where the second signed proof data was generated by the client signing the second proof data using the private key corresponding to the public key and the first access token and, in response:
verifying the second signed proof data with the public key stored in association with the first access token,
if the verifying the second signed proof data fails, performing one of:
generating a verification failure alert or report, and
revoking authorization of the first access token.

### Claim 15

One or more computer storage media having computer executable instructions stored thereon which, when executed by one or more processors, cause the processors to execute a secure token refresh method, the method comprising:
by an authentication service, receiving a first message from a client with a first access token request and, in response, sending a message that includes a first access token to the client;
by the authentication service, receiving a second message that includes the first access token and a public key value; and
in response to receiving the second message, storing the public key value in association with the first access token.

### Claim 16 (depends on 15)

The computer storage media of claim 15, where the secure token refresh method includes:
by the authentication service, receiving a third message from the client with a refresh token request and the first access token and, in response, sending a reply message with a verification request to the client that includes first proof data;
by the authentication service, receiving a fourth message from the client with first signed proof data, where the first signed proof data was generated by the client signing the first proof data using a private key corresponding to the public key and the first access token and, in response:
verifying the first signed proof data with the public key stored in association with the first access token,
generating a second access token,
storing the second access token in association with the public key, and
sending a fifth message to the client with the second access token.

### Claim 17 (depends on 16)

The computer storage media of claim 16, where the secure token refresh method includes:
by the authorization service, periodically sending verification requests to the client with new proof data to maintain continuous authentication or perform trusted device management.

### Claim 18 (depends on 16)

The computer storage media of claim 16, where the secure token refresh method includes:
by the authorization service, sending verification requests to the client with new proof data based on one or more risk management criteria.

### Claim 19 (depends on 16)

The computer storage media of claim 16, where the secure token refresh method includes:
by the authorization service, determining the proof data on the basis of a content or type of transaction relating to the first access token request.

### Claim 20 (depends on 16)

The computer storage media of claim 16, where the secure token refresh method includes:
in the authentication service,
determining that a verification is to be performed;
sending a sixth message to the client with a verification request that includes the first access token and second proof data;
receiving a seventh message from the client with second signed proof data, where the second signed proof data was generated by the client signing the second proof data using the private key corresponding to the public key and the first access token and, in response:
verifying the second signed proof data with the public key stored in association with the first access token,
if the verifying the second signed proof data fails, performing one of:
generating a verification failure alert or report, and
revoking authorization of the first access token.
