CORS policy problem
I have now understood the principle and I succeeded without difficulty to activate a light at home thanks to Postman.
I try to use your API but it doesn’t work at all in the second step of auth2 protocol, I got the message : “Access to XMLHttpRequest at ‘https://partners-login.eliotbylegrand.com/token’ from origin ‘https://xxxx.synology.me:nnnnn’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”
My Browser add the Header “Origin” and the request is blocked by Eliot server. Postman does not add the header “Origin” and it works.
Could you help me, please.
Maybe you can try to add to the Header of your request :
Or you can try to add the URL of your server in order of the “*”
(information found here :
Tell me if it worked 😉
Have a good day,
Leslie – Community Manager
You must be logged in to reply to this topic.