Trying to authenticate using Onemap Authentication docs
getting CORS error :
Access to XMLHttpRequest at ‘https://developers.onemap.sg/privateapi/auth/post/getToken’ from origin ‘http://localhost:81’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains multiple values ', ', but only one is allowed.
Tried using Ajax, post, used jquery, NodeJS
Deployed in local IIS and tried removing headers in webconfig, IIS HTTPResponseHeaders, Not working.
In Developer tool Network trace and Using postman, can see two headers in response: