Extract oauth example from existing project