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

Support Custom CDN URL with Basic Auth credentials #282

Open
ksathyanm opened this issue Mar 27, 2024 · 1 comment
Open

Support Custom CDN URL with Basic Auth credentials #282

ksathyanm opened this issue Mar 27, 2024 · 1 comment

Comments

@ksathyanm
Copy link

We have a mirror cdn url to https://msedgedriver.azureedge.net but we have to provide basic auth to this mirror server.

This is what we have in .npmrc,

edgedriver_cdnurl=https://$USERNAME:[email protected]/msedgedriver-azureedge-net-mirror/

Looks like node-fetch@3 doesn't support url with credentials, so can you please grab the credentials from cdn url and set the auth headers?

@christian-bromann
Copy link
Contributor

That should be possible, contributions are welcome!

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

No branches or pull requests

2 participants