Update `/me` endpoint for Microsoft accounts
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 30
- Forks
- 13
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 8
Description
Used in _get_user_info.
- Should use
https://graph.microsoft.com/v1.0/meinstead. - Since the scope required (
User.Read) is different from the ones inOAUTH_SCOPE, I suggest the following approach:- Override
_get_user_infoinMicrosoftAuthHandler, so it calls the parent method with a copy ofsession_dictwheresession_dict["access_token"]has been replaced with an access token with the right scope. - That access token (with
User.Readscope) has to be requested just before calling the parent method, using the AuthAlligator client.
- Override
Contributor guide
No contributing guide indexed for this repository
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.