redhat-developer / redhat-developer/vscode-yaml

Authentication for schema urls

Open
#861 0 comments 8 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.