Made oauth config a constructor param