Adding support for windows and linux to setup OAuth