redhat-developer / redhat-developer/vscode-yaml
Authentication for schema urls
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 830
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Is your enhancement related to a problem? Please describe.
Currently it is not possible to provide custom headers for schema requests, which prevents loading schema from private repos. E.g.
https://raw.githubusercontent.com/<path-to-schema> -H "Authorization: Token $GITHUB_TOKEN"
Describe the solution you would like
Would it make sense to allow defining custom headers for schema requests via user settings?
Describe alternatives you have considered
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Start by locating schema-request handling and the user-settings definitions, then trace how a schema URL is fetched. Done means custom headers can be configured in user settings and are sent with schema requests, including authenticated requests to private repositories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- security, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100