check if oauth extension is installed