evernote-sdk-js
evernote-sdk-js copied to clipboard
cors error when implemented in react
when i implemented these code in react i got the cors error
Access to XMLHttpRequest at 'https://sandbox.evernote.com/oauth' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
is there any way to use the evernote login with react
@manish252488 A bit late I guess, but any ways. This is not an issue of the library, and is not meant to be used as part of an web application. You should use it in a proxy server, where you would be able to configure the CORS policy and from that server hit the desired EPs.