Files
chrome-extensions-samples/api-samples/webRequest/http-auth/http-auth.md
IanStanion-google 2b1397315d Update api-samples/webRequest/http-auth/http-auth.md
Co-authored-by: Joe Medley <jmedley@google.com>
2023-05-19 13:47:23 -04:00

384 B

webRequest.onAuthRequired

This sample demonstrates the webRequest.onAuthRequired listener to detect an authentication request and log the user into the designated site.

Overview

When an authentication check is detected, a check is made to confirm that the request has come from the correct source. Account credentials are then provided for the response via an auth handler.