microsoftgraph / microsoftgraph/msgraph-sdk-python
Investigate and fix Device code credential flow
@shemogumbe is already working on this.
Since Mar 14, 2024.
- Dominant language
- Python
- Stars
- 630
- Forks
- 96
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 3
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.