Microsoft Graph API delegated permission

Viewed 1580

I would like to get my application(python script) be authorized with Graph API on behalf of user. I'm using this document as the reference.

Concern: I want to do it in python. Is it possible that I use the requests module and request for an authorization code. This will automatically open up the browser, the user will be asked to enter the credentials and once he/she is authenticated, the script will automatically receive the authorization code. I will then use the authorization code in the script to get the access token.

Thanks.

1 Answers
Related