python-salesforce-api icon indicating copy to clipboard operation
python-salesforce-api copied to clipboard

SOAP auth overwrites instance URL

Open 54sledgehammer45 opened this issue 3 years ago • 0 comments

https://github.com/felixlindstrom/python-salesforce-api/blob/37ed67bc46648a102c74f5d6fec0f45a9db79601/salesforce_api/login.py#L101

This creates a bug with reverse proxies or firewalled environments that specifically whitelist certain URLs.

Using the existing instance_url to make the call to plain_access_token(instance_url=instance_url,...) would fix it.

54sledgehammer45 avatar Jul 05 '21 12:07 54sledgehammer45