ClaimsPrincipal parameter injection sample request

Open Beginner friendly
#1,899 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@utsavjain2809 is already working on this.

Since Oct 4, 2026.

  • #1906 by @utsavjain2809 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
documentation

Research direction

Read the linked identity documentation, especially the section on direct ClaimsPrincipal parameter injection, then inspect the existing samples in the repository's samples directory. Add a sample that demonstrates the recommended injection approach and confirm it builds consistently with the other samples.

Written by the indexing model from the issue text.

Description

help wanted P3
Dominant language
C#
Stars
4.6k
Forks
849
Avg merge
1d 16h
Merged PRs (30d)
24

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from modelcontextprotocol/csharp-sdk

All issues in modelcontextprotocol/csharp-sdk

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.