Hi @Will.S,
I think you’ll have trouble implementing with an OAuth2 authentication; basically, if I’m right, the Refresh URL is an endpoint you would have to create, and I don’t think you’re looking to build your own web app to house that endpoint.
What about using a Personal Access Token instead of doing OAuth? Might that work for your scenario? It would be a lot simpler!