← Back to release summary

Service workers support basic HTTP authentication

Category
Service Worker
Type
New or changed feature
Status
Enabled by default (Chrome 77)
Intent stage
None

WPT details: No WPT tests. Not sure if it's possible to test HTTP authentication in WPT.

Summary

Displays HTTP authentication dialog boxes even if the request was from a service worker. This shows the native login dialog shown when an HTTP 401 response is received. Note: this requires the network service to be enabled, which is enabled by default on most platforms.

Standards & signals

Ecosystem

Explainers: https://github.com/whatwg/fetch/issues/70

View on chromestatus.com