| page_type | languages | products | description | urlFragment | ||
|---|---|---|---|---|---|---|
sample |
|
| This sample demonstrates a Python web application calling a Microsoft Graph that is secured using Azure Active Directory. | ms-identity-python-webapp |
This is a Python web application that uses the Flask framework and the Microsoft identity platform to sign in users and make authenticated calls to the Microsoft Graph API.
To get started with this sample, you have two options:
- Use the Azure portal to create the Azure AD applications and related objects. Follow the steps in Quickstart: Add sign-in with Microsoft to a Python web app.
- Use PowerShell scripts that automatically create the Azure AD applications and related objects (passwords, permissions, dependencies) for you, and then modify the configuration files. Follow the steps in the App Creation Scripts README.
If you find a bug in the sample, please raise the issue on GitHub Issues.
If you'd like to contribute to this sample, see CONTRIBUTING.MD.
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.