Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No credentials prompt with basic auth (401) #1400

Closed
joker-777 opened this issue Apr 11, 2019 · 2 comments
Closed

No credentials prompt with basic auth (401) #1400

joker-777 opened this issue Apr 11, 2019 · 2 comments

Comments

@joker-777
Copy link

joker-777 commented Apr 11, 2019

Hello,

I'm not sure where to post this error but I hope you guys can help me out. I know there are already quite a few tickets which seem to be related but after reading all of them, none of them gave me a solution which worked. I'm using right now the latest Chrome version 73.0.3683.103 with Linux.

I can reproduce this error very reliable on our staging server which is basic auth potected. The first time accessing it, it prompts me correctly for the basic auth credentials.

Screenshot_20190410_185421

But when I then insert chrome://restart in the address bar, it clears the basic auth cache and the next time I access it, it doesn't show me the basic auth prompt any more.

Screenshot_20190410_190006

The only way to fix this is to unregister the current service worker.

Screenshot_20190410_190120

@mfalken
Copy link
Member

mfalken commented Apr 11, 2019

This is a known issue in Chrome: https://crbug.com/623464.

The spec has this right, Chrome just needs to implement the spec.

@mfalken mfalken closed this as completed Apr 11, 2019
@joker-777
Copy link
Author

Thanks for sharing this link. Good to know that this problem isn't because of our servicemworker implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants