crumb icon indicating copy to clipboard operation
crumb copied to clipboard

CSRF crumb generation and validation for hapi

Results 7 crumb issues
Sort by recently updated
recently updated
newest added

It's very common in other frameworks to do REST routes as such: ``` (request: Request, h: ResponseToolkit): symbol => { if (request.method === 'post' && request.url.searchParams.has('_method')) { const override =...

support

Hello, In the frame of one of my project, I had to modify the Crumb plugin to implement an `HMAC based token pattern` to be used in a stateless server....

#### Support plan * *is this issue currently blocking your project?* (yes/no):no * *is this issue affecting a production system?* (yes/no):yes #### Context * *node version*: 12+ * *module version*:...

feature

#### Support plan * *is this issue currently blocking your project?* (yes): * *is this issue affecting a production system?* (no): #### Context * *node version*: 12.16.2 * *module version...

support

### Runtime node.js ### Runtime version 20 ### Module version 9.0.1 ### Last module version without issue _No response_ ### Used with hapi ### Any other relevant information From [the...

bug

Return early if `request.route.settings.plugins.crumb` is falsy. Fixes #165