I'm trying to interact with Metadata API from Python, for multiple different Salesforce accounts / organizations.
I'm using OAuth flow so nobody needs to give me their username + password, and can just reuse the OAuth process we went through for use with REST API.
The docs say that the login request (which uses username + password) is how you get the sessionID and Metadata API server url in order to make subsequent requests. The docs (e.g. here) say you can use OAuth instead, and replace sessionID with the access token you get from OAuth.
But what about the other part, the server url? If OAuth replaces that login request, how can I get this Metadata API server url (or make requests without it, or whatever)?