edit OAuth sample