work to enable oauth authentication