Because the auth interceptors uses instance variables for auth_options once it has been initalized with the before_raw_request hook (as used by body auth) other interceptors can not pass auth options anymore even at a later hook (before_request).
This PR removes the instance variable usage and lets auth interceptor always access the original auth option hash. So that other interceptor can prepare those options (like LHS auto auth interceptor).
https://github.com/local-ch/lhc/releases/tag/v12.1.0 introduced a bug.
Because the auth interceptors uses instance variables for
auth_options
once it has been initalized with thebefore_raw_request
hook (as used by body auth) other interceptors can not pass auth options anymore even at a later hook (before_request
).This PR removes the instance variable usage and lets auth interceptor always access the original auth option hash. So that other interceptor can prepare those options (like LHS auto auth interceptor).