Support a specific ref.
Integration with oauth process.