Dmitry Kulakov
Dmitry Kulakov
Upon investigation there are 3 different path forward that have been investigated so far. Each of them having there own pros and cons. Next.js "middleware.js" runs into a separate light...
The advantage of this solution is that it leverages existing code (next-auth), but a drawback is that we would need to reset the JWT Secret, resulting in the logout of...
> Thank you for the different solutions, I will go through in more details tomorrow. Please note: we have the session and the mongodb connection in the middleware already here......
> > getToken function is being used to get jwt token information, which doesn't contains accountType property > > We add this to the session here > > https://github.com/EddieHubCommunity/BioDrop/blob/b257fc2a05b20edcadec124c09e8ba27f826a898/pages/api/auth/%5B...nextauth%5D.js#L74 You...
I'm apologizing for the issue with prettier, it should be fixed now
It seems that openssl default output datetime is slightly different from an actual RFC822 and there is an open issue about that: https://github.com/openssl/openssl/issues/22223