Hello Chromium Extensions Team,
I am developing a Chrome extension and need to handle proxy authentication (e.g., 407 Proxy Authentication Required). I found references to the webAuthenticationProxy API, but I encountered the following challenges:
API Unavailability:
The webAuthenticationProxy API is undefined at runtime, even after adding the required permissions ("webAuthenticationProxy") to my manifest.json.
Example error:
Experimental Feature:
I could not find an option to enable Experimental Extension APIs under chrome://flags in the latest stable version of Chrome. Does this API require enabling a specific flag or using a Chrome Dev/Beta channel?
Documentation:
I reviewed the Chrome Extensions API documentation but could not find detailed information about the webAuthenticationProxy API or its current status.
Questions:
Environment Details:
Thank you for your guidance! Any documentation, examples, or timeline for the webAuthenticationProxy API would be greatly appreciated.
Best regards,
Judith.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/68f708ca-06c1-49c3-a766-4686aa295b1en%40chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/99a1161a-e14c-4e46-8392-658c33a9164cn%40chromium.org.
Hello,
Thank you for your response.
The inconsistent behavior does not follow an identifiable pattern based on my current testing.
A factor I’ve considered (but cannot confirm as root causes): After long time the extension is active the onAuthRequired event is fired less times.
I’d like to provide additional details and clarify my observations about the inconsistent behavior of the chrome.webRequest.onAuthRequired listener.
Setup:
Observed Behavior:
Insights into When It Works vs. Doesn't Work:
Environment Details:
Are there known limitations or edge cases where the onAuthRequired event might not fire as expected?
Could the behavior be influenced by specific environmental factors, such as network conditions, proxy server configurations, or request timing?
Are there alternative APIs or approaches I could explore for handling proxy authentication more reliably?