@baris
config.json looks like
{
"url": "https://aaa.bbb.ccc.ddd",
"secret": "xxxxxxxxxxxxxxxxxxxxxxx",
"database": "mongo",
"mongo": {
"uri": "mongodb://nodebb:[email protected]/nodebb",
"uri_long": "mongodb://nodebb:[email protected]/nodebb"
},
"port": "4567",
"socket.io": {
"origins": "https://aaa.bbb.ccc.ddd:*"
},
and looking in the DB I see in the sessions collections
/* 1 */
{
"_id" : "bzuVRBphBzKSUZ3Yt9VxEQUPuJoU5nKh",
"expires" : ISODate("2021-03-05T15:41:25.409Z"),
"session" : "{\"cookie\":{\"originalMaxAge\":1209600000,\"expires\":\"2021-03-05T15:41:17.902Z\",\"secure\":true,\"httpOnly\":true,\"path\":\"/\",\"sameSite\":\"Lax\"},\"returnTo\":\"/\",\"flash\":{},\"passport\":{\"user\":8}}"
}
/* 2 */
{
"_id" : "mqBJSla7h9jDaRjbdpEsCpbIaXpZxKIX",
"expires" : ISODate("2021-03-05T17:02:35.259Z"),
"session" : "{\"cookie\":{\"originalMaxAge\":1209600000,\"expires\":\"2021-03-05T17:02:34.250Z\",\"secure\":true,\"httpOnly\":true,\"path\":\"/\",\"sameSite\":\"Lax\"},\"returnTo\":\"/\",\"flash\":{},\"registration\":{\"returnTo\":\"/\",\"uid\":8},\"passport\":{\"user\":8}}"
}
I've tried already to delete anything in the sessions collection but with no better luck
To give better context consider that my user is attempting to authenticate using this OAuth2 plugin I've developed and nodebb get stuck as soon as I'm authenticated against my identity provider and I'm going to set my privacy settings

Thanks for any help