advanced oauth sample

New sample and docs for the auth code grant type.