Skip to content

CORS issue at calling loadDevices #10

Description

@ihardyslide

Hi,

I'm currently trying to implement a web dashboard on top of your node-eufy-api.
Unfortunately, I can't access the Eufy API from the browser as it seems, failing with a CORS error:

Access to fetch at 'https://home-api.eufylife.com/v1/user/email/login' from origin 'http://localhost:8559' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Is there some way I can tell your library, that it should fetch the Eufy API with 'no-cors' option?

Thanks & br,
Marco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions