Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#466 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
csharp
Bereich
api, authentication

Rechercherichtung

Beginnen Sie mit src/Microsoft.Graph.Core/Requests/Middleware/AuthenticationHandler.cs, insbesondere mit dem verlinkten Abschnitt, der WWW-Authenticate für CaeAuthenticationProviderOption analysiert. Verfolgen Sie, wie diese Informationen zu IAuthenticationProvider-Implementierungen gelangen, und bestimmen Sie, wo der vollständige Header-Inhalt im Request-Kontext bereitgestellt werden sollte. Die Aufgabe ist abgeschlossen, wenn Authentifizierungsimplementierungen den Nonce und andere Parameter des Headers für die Microsoft Graph POP-Unterstützung abrufen können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
C#
Sterne
163
Forks
65
Ø Merge
38 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoftgraph/msgraph-sdk-dotnet-core

Alle Issues in microsoftgraph/msgraph-sdk-dotnet-core

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.