garmeeh / local-cors-proxy

Simple proxy to bypass CORS issues.
MIT License
328 stars 81 forks source link

Blocked due to CORS Policy (redirected from) #15

Open cory-weiner opened 4 years ago

cory-weiner commented 4 years ago

Am trying to use this library to bypass CORS on a client side request to a public API.

However, instead of getting the normal CORS error, I am instead getting the same error with note that it was redirected.

This is the error in Chrome

Access to XMLHttpRequest at 'https://www.zoho.com/creator/' (redirected from 'http://localhost:8010/proxy/oauth/v2/token?client_id=#&client_secret=#&refresh_token=#&grant_type=refresh_token') from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.