Web tokens for enhanced microservice observability
Abstract
In one embodiment, a service determines authentication credentials for a web application transaction. The service determines one or more performance metrics regarding the web application transaction. The service generates an enhanced web token comprising the one or more performance metrics regarding the web application transaction. The service sends the enhanced web token and the authentication credentials along a path of the web application transaction, the path including one or more services configured to use the one or more performance metrics sent in addition to the authentication credentials to process the web application transaction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 1.
Claims (8)
- Claim 1Independent Claim
A method, comprising: receiving, by a service, a web token comprising authentication credentials for a web application transaction; determining, at the service, the authentication credentials for the web application transaction; determining, by the service, one or more performance metrics regarding the web application transaction, wherein the one or more performance metrics comprise observability information associated with the web application transaction and security information associated with extended authentication or enhanced security; generating, by the service and based on the web token, an enhanced web token by adding claims in an options field of a header of the web token, the claims comprising the one or more performance metrics regarding the web application transaction; and sending, by the service, the enhanced web token and the authentication credentials along a network path of the web application transaction, the network path including one or more services or microservices
- Claim 2Depends on #1
The method as in claim 1, wherein the service is selected from a group consisting of: a web application and a microservice application.
- Claim 3Depends on #1
The method as in claim 1, wherein the one or more performance metrics regarding the web application transaction are selected from a group consisting of: a transaction name; a transaction type; a username; a user login role; a multifactor authentication indicator; a number of login failures; and a geolocation.
- Claim 4Depends on #1
The method as in claim 1, wherein one or more agents, configured to monitor the web application transaction, obtain the one or more performance metrics.
- Claim 5Depends on #1
The method as in claim 1, wherein the enhanced web token is signed using a private key associated with the web token.
- Claim 6Depends on #1
The method as in claim 1, wherein the enhanced web token is signed using a trusted authority certificate.
- Claim 7Depends on #1
The method as in claim 1, wherein the authentication credentials are included in the enhanced web token.
- Claim 8Depends on #1
The method as in claim 1, wherein the authentication credentials are sent as part of a web token separate from the enhanced web token.
Technical Overview & Description
TECHNICAL FIELD The present disclosure relates generally to computer systems, and, more particularly, to web tokens for enhanced microservice observability. BACKGROUND The Internet and the World Wide Web have enabled the proliferation of web services available for virtually all types of businesses. Due to the accompanying complexity of the infrastructure supporting the web services, it is becoming increasingly difficult to maintain the highest level of service performance and user experience to keep up with the increase in web services. For example, it can be challenging to piece together monitoring and logging data across disparate systems, tools, and layers in a network architecture. Moreover, even when data can be obtained, it is difficult to directly connect the chain of events and cause and effect. In particular, individual web services are increasingly being offered by microservices, which are, oftentimes, maintained and operated by organizations that are distinct from web application operators. For example, a microservice may provide payment processing or product/service tracking for a web application. In another example, a microservice may provide file/data access or comment posting for a social media application. Therefore, due to the separation of microservices and particular web applications, it has become even more difficult to connect the chain of events and cause and effect. BRIEF DESCRIPTION OF THE DRAWINGS The embodiments herein may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indicate identically or functionally similar elements, of which: FIG. 1 illustrates an example computer network; FIG. 2 illustrates an example computing device/node; FIG. 3 illustrates an example observability intelligence platform; FIG. 4 illustrates an example architecture for web tokens for enhanced microservice observability; FIG. 5 illustrates an example data packet that includ
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,438,871 B1 | Methods and systems for centralized authorization/authentication for microservices | 2025 | 0 |
References Cited — Backward Prior Art (39)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- “
- Introduction to JSON Web Tokens
- ”
- , online: https://jwt.io/introduction, accessed Jul. 14, 2021, 11 pages, JWT.IO.
- “
- JSON Web Token Claims
- ”
- , online: https://auth0.com/docs/tokens/json-web-tokens/json-web-token-claims, accessed Jul. 14, 2021, 6 pages, Auth0, Inc.
- Burcea, Catalin,
- “