Skip to content

Commit 9cdffa0

Browse files
pamelafoxcilwerner
andauthored
Apply suggestions from code review
Co-authored-by: Chris Werner <[email protected]>
1 parent 28308e1 commit 9cdffa0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

articles/active-directory/develop/includes/web-app/quickstart-python.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ Follow these steps to register your application in the Azure portal:
3737
1. Sign in to the <a href="https://portal.azure.com/" target="_blank">Azure portal</a>.
3838
1. If you have access to multiple tenants, use the **Directory + subscription** filter :::image type="icon" source="../../media/common/portal-directory-subscription-filter.png" border="false"::: in the top menu to select the tenant in which you want to register an application.
3939
1. Navigate to the portal's [App registrations](https://go.microsoft.com/fwlink/?linkid=2083908) page, and select **New registration**.
40-
1. Select **New registration**.
41-
1. Enter a **Name** for your application, for example `python-webapp` . Users of your app might see this name, and you can change it later.
40+
1. Enter a **Name** for your application, for example *python-webapp*.
4241
1. Under **Supported account types**, select **Accounts in any organizational directory and personal Microsoft accounts**.
4342
1. Under **Redirect URIs**, select **Web** for the platform.
4443
1. Enter a redirect URI of `http://localhost:5000/getAToken`. This can be changed later.
@@ -48,8 +47,8 @@ Follow these steps to register your application in the Azure portal:
4847

4948
1. On the app **Overview** page, note the **Application (client) ID** value for later use.
5049
1. Under **Manage**, select the **Certificates & secrets** and from the **Client secrets** section, select **New client secret**.
51-
1. Type a key description (for instance app secret), leave the default expiration, and select **Add**.
52-
1. Save the **Value** of the **Client Secret** in a safe location. You will need it to configure the code, and you can't retrieve it later.
50+
1. Enter a description for the client secret, leave the default expiration, and select **Add**.
51+
1. Save the **Value** of the **Client Secret** in a safe location. You'll need it to configure the code, and you can't retrieve it later.
5352

5453
## Step 3: Add a scope
5554

@@ -63,7 +62,7 @@ Follow these steps to register your application in the Azure portal:
6362

6463
[Download the Python code sample](https://github.com/Azure-Samples/ms-identity-python-webapp/archive/master.zip) or clone the repository:
6564

66-
```shell
65+
```powershell
6766
git clone https://github.com/Azure-Samples/ms-identity-python-webapp.git
6867
```
6968

@@ -73,7 +72,7 @@ You can also use an integrated development environment to open the folder.
7372

7473
1. Go to the application folder.
7574

76-
1. Create an `.env` file in the root folder of the project using `.env.sample` as a guide.
75+
1. Create an *.env* file in the root folder of the project using *.env.sample* as a guide.
7776

7877
```python
7978
TENANT_NAME=<tenant name>

0 commit comments

Comments
 (0)