OAuth API Protection With Flexible Two-Factor Authentication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The OAuth 2.0 framework for API security lacks multi-factor authentication capabilities, exposing it to insufficient security levels, particularly for sensitive data, and persistently storing client-credential information creates a common attack surface.

Innovation Solution

An API provider is offered options for different types of second authentication factors, enabling two-factor authentication, with entities within the OAuth 2.0 framework performing the second-factor authentication, and using vaultless client-credential information to enhance security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If OAuth 2.0 framework is used for API security, then API access control is enabled, but security level is insufficient due to lack of multi-factor authentication

Engineering Contradiction:
Improvesecurity levelVSAvoidauthentication flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system dynamically adapts the authentication process by conditionally requiring second-factor authentication based on risk assessment. The OAuth 2.0 flow is modified to optionally include a second authentication factor, making the security level dynamic rather than static. This resolves the contradiction by allowing the system to be both secure (when 2FA is required) and flexible (when standard OAuth suffices).

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the authentication parameter from single-factor to multi-factor by introducing a second authentication factor. The system modifies the OAuth 2.0 protocol parameters to include an optional second authentication step, thereby increasing the security level while maintaining compatibility with existing OAuth implementations through parameter extension rather than fundamental protocol change.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If client-credential information is persistently stored, then authentication is simplified, but attack surface is created

Engineering Contradiction:
Improveauthentication simplicityVSAvoidattack surface
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The invention extracts the second authentication factor from persistent storage and generates it dynamically during each authentication request. By taking out the sensitive credential information from long-term storage and creating it on-demand, the system maintains authentication simplicity while eliminating the persistent attack surface that would otherwise exist for stored credentials.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The second authentication factor is implemented as a short-lived, disposable credential that exists only temporarily during the authentication process. Rather than storing credentials persistently, the system generates ephemeral authentication data that is used once and then discarded, significantly reducing the attack surface while maintaining ease of operation through automated generation.

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

Data Source

PatentUS12531844B2Computing systems and methods for protecting application programming interfaces with two-factor authentication
Publication Date: 2026.01.20 CAPITAL ONE FINANCIAL CORP
  • US12531844B2 patent drawing
  • US12531844B2 patent drawing
  • US12531844B2 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.