Hello hive mind, can you do my job for me please?
We have a piece of software that automatically authorises as the logged in user (I am aware of things like Kerberos and NTLM, but this isn't exactly my area), it's also integrated with Microsoft CRM (4.0 near-end-of-life software fans), so I'm not sure if it in some way piggybacks off that authorisation (ignore all this, like I say, I don't really know what I'm talking about).
Anyway, the providers of said software have recently told us about their API, which supports a series of HTTP GET and POST requests to get data in and out of the system. Each of these requests requires a valid token to authorise the request. You get a token by submitting a POST request with the valid credentials of the user that you want the token for (ie, their windows login details) - in the body of the request. So, my hopes and dreams for the API, were to write something that would automatically authenticate as the current user, and then allow them to do stuff in the system, but I've hit a bit of a stumbling block with the token as the only way I appear to be able submit credentials is in the body of the request, and understandably, there doesn't seem to be a way to get someones password and use it in this way.
I spoke to the author of the API and they basically said they didn't use it like that and suggested prompting for a password, although I'm waiting for a response from our IT to see what they think about me writing something that asks people to enter their windows passwords (I've promised not to log them all to a file buried on the network).
So, am I being stupid, are they being stupid, or do I just have ridiculous expectations of what I should be able to do with an API?