OAuth API Two-Factor Authentication With Vaultless Credentials

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The OAuth 2.0 framework lacks multi-factor authentication capabilities, which can compromise the security of APIs, particularly for sensitive data and services, and persistently storing client-credential information creates a vulnerability to unauthorized access.

Innovation Solution

An API provider is offered options for different types of second authentication factors, enabling two-factor authentication, and the OAuth framework performs second-factor authentication based on the provider's selection, with the option of using vaultless client-credential information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If OAuth 2.0 framework is used for API protection, then authentication capability is provided, but multi-factor authentication capability is insufficient

Engineering Contradiction:
Improveauthentication capabilityVSAvoidmulti-factor authentication capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The authentication process is segmented into two distinct phases: first-factor authentication (traditional OAuth client credentials) and second-factor authentication (additional verification). This segmentation allows the system to maintain backward compatibility while adding enhanced security capabilities without requiring complete redesign of the authentication framework.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically configures the type and requirements of second-factor authentication based on API-specific security policies. API providers can selectively enable different second-factor mechanisms (e.g., certificate-based, token-based) depending on the sensitivity and requirements of each API, making the authentication system adaptable to various security needs.

Inventive Principle:
Principle #15Dynamics

2Reliability

If client-credential information is stored persistently, then authentication data is available for future access, but security vulnerability increases

Engineering Contradiction:
Improveauthentication data availabilityVSAvoidsecurity vulnerability
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The system extracts and eliminates the persistent storage component from the traditional OAuth credential management model. Instead of storing client-credential information permanently, the system uses short-lived access tokens that are automatically expired after use. This extraction of the persistent storage function removes the primary attack surface while maintaining authentication capability through token-based verification.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system replaces persistent credential storage with disposable, short-lived access tokens. These tokens are generated for specific authentication events and automatically expire after a predetermined duration or after successful API access, eliminating the need for long-term storage mechanisms and reducing security risks associated with persistent credential databases.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Data Source

PatentUS12634133B2Computing systems and methods for protecting application programming interfaces with two-factor authentication
Publication Date: 2026.05.19 CAPITAL ONE FINANCIAL CORP
  • US12634133B2 patent drawing
  • US12634133B2 patent drawing
  • US12634133B2 patent drawing

AI summary

In order to extend an OAuth 2.0 framework in a way that an application programming interface (API) is to be protected with two-factor authentication, an API provider may be presented with a set of options for different types of second authentication factors that can be used to carry out the two-factor authentication for the API, and then after the API provider selects its desired type of second authentication factor, an OAuth resource endpoint or an OAuth token endpoint may function to perform a second-factor authentication of each client application attempting to access the API based on a second authentication factor of the type selected by the API provider. Other comparable technology for protecting APIs may be extended to allow for two-factor authentication in a similar manner.