This question is locked. New answers and comments are not allowed.
Good morning,
Following the guides and example projects I decided to use the API to do some out of band work. Our instance of TeamPulse uses Windows Integrated Authentication. Using the provided examples I fashioned my AJAX call as such:
$.ajax({
url: "[OURURL]" + '/Authenticate/WRAPv0.9',
data: {
wrap_client_id: 'uri:TeamPulse',
wrap_username: user,
wrap_password: password
},
type: "POST",
success: function (data) {
Then in my form I entered my credentials as such: [domain]\[username] , [password]. It seems that this is an invalid way of passing windows credentials to the API as I get a response with "An error occurred while processing your request". It doesn't appear that there is any other information. If I use a bad username or password that doesn't exist I get an expected 401.
Reading though the documentation I don't see a clear way to play nice with integrated authentication.
I'm probably just missing something straightforward or just don't clearly understand what the TeamPulse authentication expects or can accept. Any direction on this would be greatly appreciated. Thanks!
Following the guides and example projects I decided to use the API to do some out of band work. Our instance of TeamPulse uses Windows Integrated Authentication. Using the provided examples I fashioned my AJAX call as such:
$.ajax({
url: "[OURURL]" + '/Authenticate/WRAPv0.9',
data: {
wrap_client_id: 'uri:TeamPulse',
wrap_username: user,
wrap_password: password
},
type: "POST",
success: function (data) {
Then in my form I entered my credentials as such: [domain]\[username] , [password]. It seems that this is an invalid way of passing windows credentials to the API as I get a response with "An error occurred while processing your request". It doesn't appear that there is any other information. If I use a bad username or password that doesn't exist I get an expected 401.
Reading though the documentation I don't see a clear way to play nice with integrated authentication.
I'm probably just missing something straightforward or just don't clearly understand what the TeamPulse authentication expects or can accept. Any direction on this would be greatly appreciated. Thanks!