You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PersonalAccessTokenAPIAppSample/ms-identity-python-webapp-master/README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,14 @@ languages:
4
4
- python
5
5
products:
6
6
- azure-active-directory
7
-
description: "This sample demonstrates a Python web application calling the PAT Lifecycle API on PPE that is secured using Azure Active Directory."
7
+
description: "This sample demonstrates a Python web application calling the PAT lifecycle management API that is secured using Azure Active Directory. Users can download the sample and fill in their own credentials in 'app_config.py' to try the API themselves."
8
8
urlFragment: ms-identity-python-webapp
9
9
---
10
10
# Integrating Microsoft Identity Platform with a Python web application
11
11
12
12
## About this sample
13
13
14
-
> This sample is also available as a quickstart for the Microsoft identity platform:
15
-
[Quickstart: Add sign-in with Microsoft to a Python web app]("https://docs.microsoft.com/azure/active-directory/develop/quickstart-v2-python-webapp")
14
+
> This sample can also be created from a Quickstart for the Microsoft identity platform: [Get started with a Python Flask Quickstart application](TODO: add link to new content docs article)
16
15
17
16
### Overview
18
17
@@ -128,7 +127,7 @@ In the steps below, "ClientID" is the same as "Application ID" or "AppId".
128
127
Now you can set the secret in environment variable `CLIENT_SECRET`,
129
128
and then adjust `app_config.py` to pick it up.
130
129
1. Find the app key `Enter_the_Application_Id_here` and replace the existing value with the application ID (clientId) of the `python-webapp` application copied from the Azure portal.
131
-
130
+
1. Find the ENDPOINT variable and replace `Enter_the_Collection_Name_Here` with the name of your Azure DevOps collection.
132
131
133
132
### Step 4: Run the sample
134
133
@@ -166,7 +165,4 @@ For more information, see MSAL.Python's [conceptual documentation]("https://gith
166
165
167
166
For more information about web apps scenarios on the Microsoft identity platform see [Scenario: Web app that calls web APIs](https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-web-app-call-api-overview)
168
167
169
-
For more information about how OAuth 2.0 protocols work in this scenario and other scenarios, see [Authentication Scenarios for Azure AD](http://go.microsoft.com/fwlink/?LinkId=394414).
170
-
171
-
## TODO
172
-
- Add the rest of the PAT Lifecycle API endpoints
168
+
For more information about how OAuth 2.0 protocols work in this scenario and other scenarios, see [Authentication Scenarios for Azure AD](http://go.microsoft.com/fwlink/?LinkId=394414).
0 commit comments