microsoftgraph / microsoftgraph/msgraph-sdk-python

Investigate and fix Device code credential flow

Aperta
#630 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

@shemogumbe ci sta già lavorando.

Dal 14/3/2024.

enhancement
Lingua principale
Python
Stelle
630
Fork
96
Merge medio
15h 20m
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.