You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can directly define per route settings using the `csurf` config (which is the underlying package used for CSRF protection in this library. This should be used directly, not in a `security` object)
27
+
28
+
```ts{}[nuxt.config.ts]
29
+
export default {
30
+
routeRules: {
31
+
'/api/nocsrf': {
32
+
csurf: false
33
+
}
34
+
}
35
+
}
36
+
```
27
37
Now, you can use the auto-imported composables for handling CRSF:
0 commit comments