Skip to content

How I can use an document json with have link protected? #10629

Closed Answered by chris48s
OlivlfilipeOliveira asked this question in General
Discussion options

You must be logged in to vote

The dynamic badges just call a URL.
This is the same for both shields.io and self-hosted instances.

This means that if you can pass the auth as part of the URL e.g:

You could request a document that requires auth. Although that does require exposing the credentials to anyone who can see your README in plain text (and also to us, if you use shields.io) so you might not want to do that for obvious reasons.

There's no mechanism to pass auth in other ways (e.g: in a header) for the dynamic badges, even if you host your own instance.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@OlivlfilipeOliveira
Comment options

@jNullj
Comment options

jNullj Oct 23, 2024
Collaborator

@chris48s
Comment options

Answer selected by OlivlfilipeOliveira
@OlivlfilipeOliveira
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants