To login to my corporate client Salesforce GUI, I have to use the following link:
This link works and logs me in, if I want to log in manually. But when I try to integrate OAuth 2.0 with Salesforce into my application, I, logically, send a request to the following link:
This generates a valid link, and I am able to log in with it, but along with the response body I receive HTTP code
401. The workflow of my application is strictly set -- all
5xx responses are failing. Therefore I cannot proceed with the response from Salesforce. Moreover, a valid auth link and
401 code looks like unexpected behaviour on Salesforce side.
And since I use GuzzleHttp library to process data, it throws
Is this a Salesforce bug? Or am I missing something in my implementation? Maybe, I should send an authorization request to some other link?
/partner) does not work and sends
503 as expected.