Authentication stopped working

Since saturday, the authentication api to retrieve the token seems to be broken. Even though I’ve passed in both the email and password, it keeps giving an error below

error: “You have to pass in both email and password to retrieve your token.”

1 Like

down for about a week now: is anybody working on it at OneMap?

Hey I think they change their Login API alr. Checkout their docs Login API.

The API now change from using fromData to json body parameters.
Small example if using are using nodejs:

await axios.post('https://developers.onemap.sg/privateapi/auth/post/getToken', { email: 'email', password: 'password' });

Hi,
getToken API and reversecode API shows the output data few times and sometimes it shows ‘403’ the forbidden error