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 authentication when checking links #82

Open
ryanwinter opened this issue Sep 8, 2024 · 1 comment
Open

Support authentication when checking links #82

ryanwinter opened this issue Sep 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ryanwinter
Copy link

Is your feature request related to a problem? Please describe.
I have run this using a private repo (not going public for a few months) and it fails all link checks again the internal repository itself.

Describe the solution you'd like
Add the ability to set an authorization token on the link check. This would give the ability to pass a personal access token to the action.

Describe alternatives you've considered
Unsure if there is an alternative

@ryanwinter ryanwinter added the enhancement New feature or request label Sep 8, 2024
@pwalleni
Copy link

Yes, please. Resources protected by authentication may cause the server to return 404 to linkspector. We want to check if the protected resource exists to ensure the link works when authenticated users click it. We can add 404 to the list of aliveStatusCodes, but it's not a great workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants