-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Sourcelink Private Files Authenticiation #391
Comments
How would authentication work in your case?
|
In our case we're using Azure-devops and running report generator in the agent so providing the agent authentication token via the header would by the perfect case but something that could be used by anyone needing access to private files when running report generator would be great. I'd be happy to help write it once we have an idea of what would be best. |
Adding a custom header should be easy. |
In release 4.7.0 I added a new setting You just have to add another command line parameter. E.g.: It is also possible to add several headers. E.g.: See also: https://github.com/danielpalme/ReportGenerator/wiki/Settings The new release is published through Azure DevOps. It may take some time until this process has finished (they have some problems at the moment). |
@danielpalme Thank you very much for the quick addition and for a great project! |
Release 4.7.0 is now available. |
@danielpalme Sorry for the delay in replying, this worked perfectly for our use case. Thank you for the quick turn around on this |
When processing coverage files generated with a source-linked source the files are identified as urls which reportgenerator which when processing is loaded here.
If the url is protected, such as an azure devops private repository the request gets a 401 and thus the report doesn't work correctly. Would it be posible to provide a mechnism to provide authorization to the request?
To Reproduce
The following input helps to reproduce your issue:
The text was updated successfully, but these errors were encountered: