Background Authentication Token Refresh Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing authentication systems, such as those using OAuth, require frequent user interaction for token renewal, leading to a cumbersome user experience due to the short lifespan of access tokens, which expire after a limited time.

Innovation Solution

Implementing a background authentication token refresh mechanism that utilizes session information to silently refresh tokens without user intervention, using asynchronous JavaScript and XML calls or browser extensions, allowing continued access to secure resources without repeated authentication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If access tokens are used with short lifespan for security, then security is improved, but user convenience deteriorates due to frequent reauthentication requirements

Engineering Contradiction:
ImprovesecurityVSAvoiduser convenience
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system performs preliminary action by refreshing access tokens in the background before they expire. The refresh token is used to obtain new access tokens automatically, eliminating the need for users to manually reauthenticate. This resolves the contradiction by maintaining short token lifetimes for security while automatically renewing them to preserve user convenience.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The authentication system performs self-service by automatically managing token refreshes without user intervention. The background script detects when an access token is approaching expiration and initiates the refresh process using the refresh token, allowing the system to maintain its own authentication state without requiring continuous user input.

Inventive Principle:
Principle #25Self-service

2Reliability

If manual reauthentication is required for token renewal, then security control is improved, but user experience deteriorates due to cumbersome authentication process

Engineering Contradiction:
Improvesecurity controlVSAvoiduser experience
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system introduces an intermediary mechanism in the form of a background script that mediates between the user and the authentication system. This intermediary automatically handles the token refresh process, shielding the user from authentication complexity while maintaining security control through the refresh token mechanism.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary authentication actions by using refresh tokens to obtain new access tokens before the current tokens expire. This preliminary action eliminates the need for manual reauthentication at the moment of token expiration, improving user experience while preserving security control through the pre-established refresh token.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If background token refresh is implemented without user interaction, then user convenience is improved, but system complexity increases due to additional authentication mechanisms

Engineering Contradiction:
Improveuser convenienceVSAvoidsystem complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system implements self-service by having the background script automatically manage token refreshes without user interaction. The script monitors token expiration status and initiates refresh operations autonomously, improving user convenience while keeping the added complexity contained within the background process rather than the user interface.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The background script acts as an intermediary layer that handles the complexity of token management separately from the main application. This intermediary absorbs the system complexity by managing authentication tokens automatically, allowing the rest of the system to benefit from improved user convenience without directly exposing the complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11153294B2Background authentication refresh
Publication Date: 2021.10.19 SALESFORCE INC
  • US11153294B2 patent drawing
  • US11153294B2 patent drawing
  • US11153294B2 patent drawing

AI summary

Techniques for refreshing an authentication token. Access is granted to a secure computing environment in response to receiving authentication information from a requesting computing device. The access is granted for a session and one or more client applications allow secure delegated access to server resources on behalf of a resource owner by utilizing an access token. The access token is refreshed without explicit user interaction utilizing the authentication information for the session while the session is valid. Access is granted to the secure computing environment in response to the refreshed access token.