Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

javascript client #835

@mer30boy

Description

@mer30boy

Hi
I connected to this server socket via a JavaScript client by following code :
socket = new WebSocket('ws://192.168.1.2/ws');

i want to do a simple authentication using username and password in connecting.
It seems that JavaScript cannot do authentication in this way.
so I tried to use the socket.io in JavaScript. but encountered a CORS error while connecting.

How can I authentication using a JavaScript client and ESPAsyncWebServer socket server

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions