Latencies during OTK JWT Token Generation
search cancel

Latencies during OTK JWT Token Generation

book

Article ID: 390720

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

High response times for JWT tokens are generally observed with Layer7 OTK, where multiple grant flows are exposed, such as client credentials, token exchange, refresh token exchange, and service token exchange, etc.
Typically, high response times occur under heavy load. Our assumption is that this issue arises when OTK establishes connections to the external MySQL database. 

 

Environment

Oauth 4.6.x

Resolution

Make sure that the  CWP otk.access_token.enable_jwt.query_db is set to false to reduce latency due to database access