Project

General

Profile

Microsoft Edge can't login my web page

Added by xchris almost 5 years ago

hi,

Server
Fedora
lighttpd v1.4.53

Client
Windows 10 1903
Microsoft Edge 44.18362.1.0
Can't login my web page
Google Chrome and Microsoft IE both working

Default config from lighttpd-1.4.53/doc/config/lighttpd.conf and modules.conf

server.modules = (
  "mod_access",
#  "mod_alias",
  "mod_auth",
#  "mod_authn_file",
#  "mod_evasive",
#  "mod_redirect",
#  "mod_rewrite",
#  "mod_setenv",
#  "mod_usertrack",
)
auth.backend = "plain" 
auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user" 
auth.require = ( "" =>
(
"method" => "digest",
"realm" => "",
"require" => "valid-user" 
),
)

Replies (6)

RE: Microsoft Edge can't login my web page - Added by gstrauss almost 5 years ago

Hi. You seem new to the internet. It is not helpful to say "it's broken" without providing details of observed behavior and the actual error.

"Microsoft Edge can't login my web page" suggests a problem with Microsoft Edge, not lighttpd. Have you tried your favorite search engine to see if others are having problems with Microsoft Edge?

Have you tried filling in a valid Realm in the lighttpd config?

RE: Microsoft Edge can't login my web page - Added by xchris almost 5 years ago

"Microsoft Edge can't login my web page" suggests a problem with Microsoft Edge, not lighttpd

Yes, a problem with Microsoft Edge

Have you tried your favorite search engine to see if others are having problems with Microsoft Edge?

Yes, I didn't find answer via Google

Have you tried filling in a valid Realm in the lighttpd config?

Yes, it is no different

Sorry, here are the details
My web server is lighttpd on Fedora Linux
And running in my home only

For web server
Download from https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.53.tar.gz
configure
make
make install

Copy from lighttpd-1.4.53/doc/config/lighttpd.conf and modules.conf to /etc/lighttpd as my config

Modify lighttpd.conf

auth.backend = "plain" 
auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user" 
auth.require = ( "" =>
(
"method" => "digest",
"realm" => "test",
"require" => "valid-user" 
),
)

Modify modules.conf

server.modules = (
  "mod_access",
#  "mod_alias",
  "mod_auth",
#  "mod_authn_file",
#  "mod_evasive",
#  "mod_redirect",
#  "mod_rewrite",
#  "mod_setenv",
#  "mod_usertrack",
)

Create a file /etc/lighttpd/lighttpd.user and write my login account and password

test:test

For client
My notebook is Windows 10 1903
My Microsoft Edge version is 44.18362.1.0
My Microsoft EdgeHTML version is 18.18362

I can see popup login on Microsoft Edge
But I can't login successfully by test account

Try Google Chrome v74 and Microsoft IE v11 both working
Login successfully

RE: Microsoft Edge can't login my web page - Added by Dan over 4 years ago

Hello,

Same issue here. The work around is to use a specific web page in the URL.
Example: http://192.168.0.222 - Pops up the login box but that is as far as you get with Edge.
Example: http://192.168.0.222/index.php - Pops up the login box and you get the index page after giving login credentials.

Hope this helps someone.
Regards,

RE: Microsoft Edge can't login my web page - Added by gstrauss over 4 years ago

Dan, thank you for posting a workaround.

Is there a difference for you between http://192.168.0.222 and http://192.168.0.222/ (with a trailing slash)?

What version of lighttpd are you using? lighttpd 1.4.54 adds support in mod_auth for "algorithm" => "SHA-256" in auth.require

RE: Microsoft Edge can't login my web page - Added by Dan over 4 years ago

Hello GStrauss,

I have two lighttpd web servers using digest for authentication that is having the same issue with Microsoft Edge browser.
1.4.40 and 1.4.5.3

I tested and found that it makes no difference if there is a trailing slash after the IP address.

If you hit the web server with only an IP address using Microsoft Edge browser, you get the login box. Entering the proper credentials just makes the login box appear over and over again. When there is a specific web page after the IP address such as index.php then it will log you in properly.

Note: Both Chrome and Firefox web browsers have no problem authenticating with using just the IP Address.

I will upgrade one web server to 1.4.54 to see if the Edge issue is resolved.

Regards,

RE: Microsoft Edge can't login my web page - Added by stbuehler over 4 years ago

Hi.

Could you take a look at the request headers, specifically the uri= part in the Authorization header?

And does the lighttpd error log contain any messages regarding the failed login (it should)?

    (1-6/6)