OS: Windows 2016 Server, Windows 8.1
Context: node.js, electron 2.0.8 (main process)
http library: axios 0.18.0
We created a Machine-to-Machine API & matching application some time ago (about two months) to authenticate our Electron application against our servers.
Two days ago, one of our clients experienced service outage. When reading the logs of the application, we scoped down the error to the HTTP call made to your servers to obtain the Bearer Token for the MtM API. The error message was simply ‘certificate has expired’.
Oddly enough, none of the other clients are affected by this issue, and we are unable to reproduce it on our own setup. The configuration passed to this instance is exactly the same as all of our other clients, since they all have the same version of the executable installed. Here are the parameters we send over:
const { data } = await axios({
method: 'POST',
url: 'https://arthurintelligence.auth0.com/oauth/token',
headers: { 'content-type': 'application/json' },
data: {
client_id: '<id>',
client_secret: '<much secret>',
audience: 'https://ws.arthurintelligence.com',
grant_type: 'client_credentials',
},
});
We uninstalled our application from the client’s server and reinstalled it with the same configuration, to the same effect. None of our other clients are experiencing this issue.
Any idea what might be the issue?
Have a wonderful day
Cheers,
Phil