Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Microsoft Graph SDK should make the content of the WWW-Authenticate header available in the request context to support Pop with server nonce.

Aperta
#466 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp

Direzione di ricerca

Iniziare da src/Microsoft.Graph.Core/Requests/Middleware/AuthenticationHandler.cs, in particolare dalla sezione collegata che analizza WWW-Authenticate per CaeAuthenticationProviderOption. Tracciare il percorso con cui queste informazioni raggiungono le implementazioni di IAuthenticationProvider e determinare dove dovrebbe essere esposto il contenuto completo dell’header nel contesto della richiesta. Il lavoro è completato quando le implementazioni di autenticazione possono recuperare il Nonce e gli altri parametri dell’header per il supporto di Microsoft Graph POP.

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

Descrizione

Kiota Request: enhancement

Please provide the following (and please check them off the list with [x]) before submitting this issue:

  • [ x ] Expected behavior. Please provide links to the specific Microsoft Graph documentation you used to determine the expected behavior.
  • [ x ] Actual behavior. Provide error codes, stack information, and a Fiddler capture of the request and response (please remove personally identifiable information before posting).
  • Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario.

As tenant admins will enable Pop with server nonce for Microsoft Graph, the Clients will need to parse the WWW-Authenticate header to retrieve the Nonce and other parameters.

Actual behavior

Today, the WWW-Authenticate header is parsed by the AuthenticationHandler to provide the claims in the CaeAuthenticationProviderOption for the implementations of IAuthenticationProvider to support CAE.

Expected behavior

For Pop, the claims won't be enough. We need to provide the whole content of the WWW-Authenticate header (assuming Microsoft graph retuns only one WWW-Authenticate header), so that MSAL, or the classes that will provide the authentication can parse it and provide the authorization header (for instance Pop)

Steps to reproduce the behavior
Lingua principale
C#
Stelle
163
Fork
65
Merge medio
38m
PR unite (30g)
1

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 microsoftgraph/msgraph-sdk-dotnet-core

Tutte le issue di microsoftgraph/msgraph-sdk-dotnet-core

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.