oauth example, new api method for auto linking