Add authorization examples in documentation

Aperta
#1,315 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mohit32886 ci sta già lavorando.

Dal 16/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start by reading the SDK’s authentication and authorization APIs for server handlers, repositories, filters, and client-side hooks, then identify the documentation sections covering servers and clients. Add high-level guidance and code examples for making external authentication available to server components and connecting the client to an existing OAuth2 framework. Done when both flows are explained with examples; the issue does not name specific files or tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation

Our documentation lacks guidance and examples around authorization.

We should explain at a high-level, with code examples:

  • how to make authentication obtained outside the SDK available to the server handlers, repositories, and filters
  • how to use the client-side hooks to plug the client into an existing OAuth2 framework

In the case of the modern client, clarify the relationship between a "client" and a "user".

Initially reported in #1313

Lingua principale
Java
Stelle
3.8k
Fork
1.1k
Merge medio
1g 3h
PR unite (30g)
38

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelcontextprotocol/java-sdk

Tutte le issue di modelcontextprotocol/java-sdk

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.