-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# msal-flask-graph | ||
Python Flask App utilizing MSAL, Microsoft Graph | ||
Python Flask App utilizing Microsoft Authentication Library (MSAL), Microsoft Azure Active Directory and Microsoft Graph | ||
|
||
This code accompanies articles written by Mel Hall in which we create a Flask Web App. | ||
|
||
Authentication code is based on https://github.com/Azure-Samples/ms-identity-python-webapp | ||
|
||
The app asks a user to log in using MSAL for authentication to request a token for accessing the Microsoft Graph API (a unified API for accessing all things Microsoft 365). | ||
We shall make several API calls, retrieving our profile information, OneNote pages and create a Incident Management Bot which can create and manage Teams Channels. | ||
|
||
In addition our app will provide functionality to download our OneNote pages as Markdown. | ||
|
||
|
||
## Instructions for Use | ||
|
||
- Clone the repo. | ||
- Complete the `app_config.py` section. Setup will involve app configuration on Azure Active Directory. Detailed instructions will appear on the article. | ||
- `$ flask run --host=localhost --port=5000` |