K
Kinde2mo ago
Ricer

Configuring DynamoDB express session store

I'm trying to setup a DynamoDB store for express-session and I was asked by my DevOps to set a "partition key" and "sort key". Does the ExpressJS SDK uses specific keys I should use, or it doesn't matter what I use?
2 Replies
Daniel_Kinde
Daniel_Kinde2mo ago
Are you looking for specifically the keys used? I can double check but I believe the express SDK will use whatever express-session store has been setup, if one has not been defined when the Kinde instance is setup it will resort to memory storage.
Ricer
RicerOP2mo ago
Forgot to mark as solved. I managed to work it out with using the default keys (partition key is "id" and not using sort key)
Want results from more Discord servers?
Add your server