evernote-sdk-js icon indicating copy to clipboard operation
evernote-sdk-js copied to clipboard

cors error when implemented in react

Open manish252488 opened this issue 4 years ago • 1 comments

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 avatar Jul 29 '20 09:07 manish252488

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

theteladras avatar Feb 08 '23 12:02 theteladras