Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cors error when implemented in react #101

Open
manish252488 opened this issue Jul 29, 2020 · 1 comment
Open

cors error when implemented in react #101

manish252488 opened this issue Jul 29, 2020 · 1 comment

Comments

@manish252488
Copy link

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

@theteladras
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants