You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an apikey is presented to MG, it invokes /edgemicro-auth/verifyApikey. The response from verifyApiKey is a JWT. At the moment, the JWT expiry is set to 1 minute (but easily customizable). The current logic stores the api key in cache for as long as the JWT expiry is set to.
I'm happy to add a TTL for the cache itself, but remember there are two dials to operate - a JWT expiry and the cache TTL.
[feature request]
In apikeys (and same code in oauth and oauthv2)
microgateway-plugins/apikeys/index.js
Line 201 in 94751da
A distinct expiration time is known but not passed to the cache. This could benefit
The text was updated successfully, but these errors were encountered: