microsoftgraph / microsoftgraph/msgraph-sdk-python

Investigate and fix Device code credential flow

Đang mở
#630 0 bình luận 1 reaction 1 người được giao Xem trên GitHub

@shemogumbe đang làm issue này rồi.

Từ ngày 14/3/2024.

enhancement
Ngôn ngữ chính
Python
Star
630
Fork
96
Merge trung bình
15 giờ 20 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.