WebSerial icon indicating copy to clipboard operation
WebSerial copied to clipboard

Authentication

Open mattronix opened this issue 2 years ago • 1 comments

Any tips on how i could implement basic auth?

mattronix avatar Jun 08 '23 18:06 mattronix

Very late answer, but I get aware of this lib just a few days ago, and felt a need for enhancements in my project.

See my fork https://github.com/tinkering4fun/WebSerial-Custom-HTML and the new example Demo_Console. By reading this issue, I recognized it as good idea and implemented it. :-)

The trick are new parameters in the begin() method. If you just require auth, this should work.

WebSerial.begin(&server, "/webserial", "user", "password");

If you strive for modifications of the UI, see the new example Demo_Console for what my fork was intended for. See also my comments in issue #70.

tinkering4fun avatar Jan 22 '24 00:01 tinkering4fun

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jun 04 '24 06:06 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jun 11 '24 06:06 github-actions[bot]