Support a specific ref & integration with oauth process.