Replies: 1 comment 1 reply
-
Hello, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're running into a strange situation where PUT requests are erroring out due to AntiforgeryValidationException.
We appear to be getting these exceptions no matter where the request comes from: postman, angular front end (not entirely surprising; we probably just don't have the UI configured right. My main concern is with the others), and swagger all consistently produce them. The strange thing is that POST endpoints are unaffected and the PUT endpoints that are affected are all ABP modules. We are just starting with this product so we don't yet have any custom controllers in place.
My understanding based on this is that non-browser clients such as postman are supposed to be unaffected by ABP's xsrf validation. But when we add
the endpoints start working. So it would seem that something within the AutoValidation is causing the hiccup. Does anyone have a suggestion as to how I can move past this?
ABP: 4.2.0
.NET: 5.0
Beta Was this translation helpful? Give feedback.
All reactions