microsoftgraph / microsoftgraph/msgraph-sdk-python

Investigate and fix Device code credential flow

Offen
#630 0 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@shemogumbe arbeitet bereits daran.

Seit 14.3.2024.

enhancement
Vorherrschende Sprache
Python
Sterne
630
Forks
96
Ø Merge
15 Std. 20 Min.
Gemergte PRs (30 T.)
3

Beschreibung

Current Behavior
Working with device code credetial flow throws an error at getting the token.
Follow this tutorial
Working device code credential flow, the script takes over 20 minutes and fails with token has expired error, or fails at there is no token to replace in the URLReplaceHandler

Solution
Working with device code flow, enable delegated authentication and be able to run .me paths and get responses

alternatives considered
Delegated permission works with InteractiveBrowser flow.
https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad&tutorial-step=3
Giving
my_profile_and_messages

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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