-
Notifications
You must be signed in to change notification settings - Fork 4k
Add ability to disable CSRF #4989
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requesttriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Description
Description 📓
Currently it's not possible to use next-auth without a CSRF token. This makes it impossible to use your next-auth powered API outside a next app. CSRF token's are only used for web app requests bc their point is to protect against XSS attacks.
How to reproduce ☕️
Try to submit an api request without an CSRF token.
Contributing 🙌🏽
Yes, I am willing to help implement this feature in a PR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.