panoramicdata / ServiceNow.Api

ServiceNow REST API nuget package
MIT License
18 stars 17 forks source link

Basic auth? #16

Open thedavegray opened 1 year ago

thedavegray commented 1 year ago

Hi, I have created a Basic Auth Credentials in ServiceNow and used the user/pass in a scratchpad version of your example C# code, however I get an unauthorized 401 error.

Server error Unauthorized (401): Unauthorized - {"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}.

Does your library work with basic auth or do I need an API key?

Thanks

jamesmanning commented 4 months ago

@thedavegray FWIW, the basic auth works well in my experience - were you able to get it working?