Skip to content

Commit 2c9c6ba

Browse files
committed
Guide app dev to setup CLIENT_SECRET env var
1 parent ee72c3c commit 2c9c6ba

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ In the steps below, "ClientID" is the same as "Application ID" or "AppId".
128128
129129
1. Open the `app_config.py` file
130130
1. Find the app key `Enter_the_Tenant_Name_Here` and replace the existing value with your Azure AD tenant name.
131-
1. You could find the app key `Enter_the_Client_Secret_Here` and replace the existing value with the key you saved during the creation of the `python-webapp` app, in the Azure portal.
132-
But we recommend you to store the secret in environment variable, rather than in file.
131+
1. You saved your application secret during the creation of the `python-webapp` app in the Azure portal.
132+
Now you can set the secret in environment variable `CLIENT_SECRET`,
133+
which will then be picked up by this sample app.
133134
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.
134135

135136

0 commit comments

Comments
 (0)