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.
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.