Topic Started
This user has not created any forum posts.
Replies Created
Reply to: Issues with Authentication on Sandbox
Thursday, June 28, 2018 at 07:05amI found that calling the following code before using the SDK resolved the proxy issue for me
WebRequest.DefaultWebProxy.Credentials = CredentialCache.DefaultNetworkCredentials;
This won't work for using the HttpClient, it only works for the SDK, which seems to use System.Net.WebRequest internally
Edit:
Adding the following to the App.config has also worked for me
Reply to: Issues with Authentication on Sandbox
Thursday, June 28, 2018 at 07:30amSorry for hijacking this thread...
My own personal problem is that my company uses NTLM authentication to the proxy, and I don't want to put my LAN username and password in the program/configs
By default the WebRequest uses the system proxy, and setting the DefaultWebProxy.Credentials to CredentialCache.DefaultNetworkCredentials results in a successful authentication at the proxy for me
Many thanks,
Patrick
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Hi, I'm trying to set up a demonstration project using the sandbox environment but I'm having troubles authenticating with the API.
I initially used the .NET SDK to access the sandbox but when I hit
|
14 | 5 years 8 months ago | 119 |
Subscriptions Release Notes
This user is not subscribed to any release notes.