Closed maksimlikharev closed 5 years ago
incorrect order: https://github.com/apim-haufe-io/wicked.auth/blob/next/src/common/redis-connection.ts#L36
sessionStoreOptions.client = redisConnection.getRedis();
//this will die with circular reference error, because sessionStoreOptions.client is complex object
sessionStoreOptions.client
debug('Using redis session store with options ' + JSON.stringify(sessionStoreOptions));
debug statement should be before client is assigned.
incorrect order: https://github.com/apim-haufe-io/wicked.auth/blob/next/src/common/redis-connection.ts#L36
sessionStoreOptions.client = redisConnection.getRedis();
//this will die with circular reference error, because
sessionStoreOptions.client
is complex objectdebug('Using redis session store with options ' + JSON.stringify(sessionStoreOptions));
debug statement should be before client is assigned.