small optimization because oauth happens once per tenant, but change the passed in azure request for the handle oauth callback to be an object that possesses the actual azure request as a field, plus writehead and other res methods that actually modify that field, so that the sent back response isn't bloated with these custom functions
small optimization because oauth happens once per tenant, but change the passed in azure request for the handle oauth callback to be an object that possesses the actual azure request as a field, plus writehead and other res methods that actually modify that field, so that the sent back response isn't bloated with these custom functions