Is there a way to make a Basic Auth with the Webserver? #6423
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2021-03-25 by @gfwilliams You mean like this? https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication Yes, it should be pretty easy. Looks like all you're really doing is reading and setting headers on the HTTP response Posted at 2021-03-25 by Julian1 Ok thank you. Posted at 2021-03-30 by Julian1 For people who are interested here is an example: First you look if the client is already logged in.
Edit: Here is a little function.
Posted at 2021-04-06 by @gfwilliams Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-03-25 by Julian1
I want to make a basic http auth in my webserver. I am using the ESP8266 Wifi.
Beta Was this translation helpful? Give feedback.
All reactions