OptionalcauseOptionalstackStatic OptionalprepareOptional override for formatting stack traces
StaticstackStaticcaptureCreate .stack property on a target object
OptionalconstructorOpt: FunctionCreate .stack property on a target object
OptionalconstructorOpt: Function
Whenever you try to call
authenticator.authenticate("form", request)and the request's body was already read before, the FormStrategy will throw this error.To fix it, ensure that you either move the logic that depends on the body to inside the strategy's
verifycallback, or clone the request before reading.Example
Example