make oauth work