Psi
Psi
Agreed, for a library like passport which has been around for an extremely long time, compared to some other modern day packages, the documentation is extremely lacking. Something like prisma...
The event is just signifying that the `command#exec` finished execution (it's awaited in the case of returning a promise). Thus you could use the `returnValue` which is passed to the...
You should be able to just serialize `request.user` which will be your default user model, just ensure you only include the information you want to send back, e.g. no password
Yep, this is slightly annoying It makes sense from a UX perspective the autocomplete style is intended to prompt the user to double-check the fields that were autocompleted. It would...
> My workaround was to include the referenced tsconfigs in the `.eslintrc.js` with: > > ```js > module.exports = { > // ..., > settings: { > 'import/resolver': { >...
> > This didn't seem to solve the problem for me. Any paths defined that are pointing to a reference still don't seem to work, but they work fine if...
> I agree with you 100%. In fact, one of the patterns for CSRF defense is the double submit cookies. Would you care to submit a PR for this? I'd...
Hey, thanks heaps for this explanation! It's really helpful, and I'd definitely like to update the cheatsheet to more accurately reflect this information. > For synchronizer-token, typically the token is...
> The double cookie submit pattern is made for stateless services. Even if the server generates the secret (or even the cookie name) stateless services do not save that data...
Sorry! I had not meant to delete my comment here - apologies. And sorry for the delay getting back onto this - I've been caught up in some other work....