get rid of extraneous oauth config logic