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
If Synchronizer is enabled in the Microgateway, jwt_public_key configuration is managed by the Synchronizer using Redis:
function(cb){if(useSynchronizer||!config.edge_config.redisBasedConfigCache){varopts=_.clone(options);opts['url']=config.edge_config.jwt_public_key;opts=enableTLS(config,opts);request.get(opts,function(err,response,body){if(useSynchronizer&&!err&&response&&response.statusCode===200){saveConfigToRedis(redisClient,globalOptions,config.edge_config.jwt_public_key,body,'jwt_public_key',(err)=>{if(err){writeConsoleLog('error',{component: CONSOLE_LOG_TAG_COMP},'error saving data to redis from %s',config.edge_config.jwt_public_key,err);return;}writeConsoleLog('info',{component: CONSOLE_LOG_TAG_COMP},'Saved data to redis from %s',config.edge_config.jwt_public_key);});}if(!config.edge_config.redisBasedConfigCache){_loadStatus('jwt_public_key',config.edge_config.jwt_public_key,err,response,body,cb);}});}if(config.edge_config.redisBasedConfigCache===true){//retrieve info from redis dbgetConfigFromRedis(redisClient,globalOptions,config.edge_config.jwt_public_key,'jwt_public_key',function(err,body){constresponse=err ? null : {statusCode: 200,statusMessage: 'Downloaded from redis'};_loadStatus('jwt_public_key',config.edgemicro.redisHost,err,response,body,cb);});}},
Problem
If Synchronizer is enabled in the Microgateway,
jwt_public_key
configuration is managed by the Synchronizer using Redis:Reference:
https://github.com/apigee/microgateway-config/blob/v3.1.5/lib/network.js#L377
However, the same is not done for
jwk_public_keys
:Reference:
https://github.com/apigee/microgateway-config/blob/v3.1.5/lib/network.js#L406
The text was updated successfully, but these errors were encountered: