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
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
I will receive a generic error stating that The required anti-forgery form field “__RequestVerificationToken” is not present Error in user Registration
If I remove the anti forgery token from the view and the controller I get “This method or property is not supported after HttpRequest.GetBufferlessInputStream has been invoked.”
The text was updated successfully, but these errors were encountered:
Mind checking something for me? Remove the [ValidateAntiForgeryToken] and see if you get any of your inputs in your MVC action method. I suspect you will not.
So BTW, I have feeling this is an issue between WebAPI and ASP.NET -- WebAPI is consuming the entire request buffer (for the logging) and then outside of Web API (meaning ASP.NET) something's now broken/gone in the buffer.
If I remove the [ValidateAntiForgeryToken] I get this error “This method or property is not supported after HttpRequest.GetBufferlessInputStream has been invoked.” and it never makes it to the method.
I have a partial log in where we migrate users accounts.
and the @Html.AntiForgeryToken() is in the view and inside the form.
If the logging options are setup in the IdentityServerOptions has HTTP logging enabled
I will receive a generic error stating that The required anti-forgery form field “__RequestVerificationToken” is not present Error in user Registration
If I remove the anti forgery token from the view and the controller I get
“This method or property is not supported after HttpRequest.GetBufferlessInputStream has been invoked.”
The text was updated successfully, but these errors were encountered: