File tree 11 files changed +266
-163
lines changed
11 files changed +266
-163
lines changed Original file line number Diff line number Diff line change
1
+ # This one is required if you are deploying to Azure App Service.
2
+ POST_BUILD_COMMAND = python manage.py migrate
3
+
1
4
# The following variables are required for the app to run.
2
5
CLIENT_ID = <client id>
3
6
CLIENT_SECRET = <client secret>
Original file line number Diff line number Diff line change
1
+ # This sample can be configured to work with Azure AD B2C.
2
+ #
3
+ # If you are using an Azure AD B2C tenant,
4
+ # configure the B2C_TENANT_NAME variable with your tenant name, such as "contoso".
5
+ B2C_TENANT_NAME=<your tenant name>
6
+
7
+ # You will also need to configure the following variables with your B2C policies.
8
+ SIGNUPSIGNIN_USER_FLOW=B2C_1_signinpolicy
9
+
10
+ # Optionally, you may configure the following variables with your B2C policies.
11
+ EDITPROFILE_USER_FLOW=B2C_1_ProfileEditPolicy
12
+ RESETPASSWORD_USER_FLOW=B2C_1_Password_Reset_Policy
13
+
14
+ # The following variables are required for the app to run.
15
+ CLIENT_ID=<client id>
16
+ CLIENT_SECRET=<client secret>
17
+
18
+ # Your project's redirect URI that you registered in Azure Portal.
19
+ # For example: http://localhost:5000/redirect
20
+ REDIRECT_URI=<your redirect uri>
21
+
22
+ # The following variables are required if the app needs to call an API.
23
+ #
24
+ # Multiple scopes can be added into the same line, separated by a space.
25
+ # Here we use a Microsoft Graph API as an example
26
+ # You may need to use your own API's scope.
27
+ #SCOPE=User.Read
28
+ #
29
+ # The sample app will acquire a token to call this API
30
+ #ENDPOINT=https://graph.microsoft.com/v1.0/me
31
+
32
+ # This one is required if you are deploying to Azure App Service.
33
+ POST_BUILD_COMMAND=python manage.py migrate
34
+
Original file line number Diff line number Diff line change
1
+ # This sample can be configured to work with Microsoft External ID with custom domain.
2
+ #
3
+ # If you are using a Microsoft External ID tenant with custom domain,
4
+ # configure the OIDC_AUTHORITY variable as
5
+ # "https://www.contoso.com/TENANT_GUID/v2.0"
6
+ OIDC_AUTHORITY=<authority url>
7
+
8
+ # The following variables are required for the app to run.
9
+ CLIENT_ID=<client id>
10
+ CLIENT_SECRET=<client secret>
11
+
12
+ # Your project's redirect URI that you registered in Azure Portal.
13
+ # For example: http://localhost:5000/redirect
14
+ REDIRECT_URI=<your redirect uri>
15
+
16
+ # The following variables are required if the app needs to call an API.
17
+ #
18
+ # Multiple scopes can be added into the same line, separated by a space.
19
+ # Here we use a Microsoft Graph API as an example
20
+ # You may need to use your own API's scope.
21
+ #SCOPE=User.Read
22
+ #
23
+ # The sample app will acquire a token to call this API
24
+ #ENDPOINT=https://graph.microsoft.com/v1.0/me
25
+
26
+ # This one is required if you are deploying to Azure App Service.
27
+ POST_BUILD_COMMAND=python manage.py migrate
28
+
Original file line number Diff line number Diff line change
1
+ # This sample can be configured to work with Microsoft Entra ID.
2
+ #
3
+ # If you are using a Microsoft Entra ID tenant,
4
+ # configure the AUTHORITY variable as
5
+ # "https://login.microsoftonline.com/TENANT_GUID"
6
+ # or "https://login.microsoftonline.com/contoso.onmicrosoft.com".
7
+ #
8
+ # Alternatively, use "https://login.microsoftonline.com/common" for multi-tenant app.
9
+ AUTHORITY=<authority url>
10
+
11
+ # The following variables are required for the app to run.
12
+ CLIENT_ID=<client id>
13
+ CLIENT_SECRET=<client secret>
14
+
15
+ # Your project's redirect URI that you registered in Azure Portal.
16
+ # For example: http://localhost:5000/redirect
17
+ REDIRECT_URI=<your redirect uri>
18
+
19
+ # The following variables are required if the app needs to call an API.
20
+ #
21
+ # Multiple scopes can be added into the same line, separated by a space.
22
+ # Here we use a Microsoft Graph API as an example
23
+ # You may need to use your own API's scope.
24
+ #SCOPE=User.Read
25
+ #
26
+ # The sample app will acquire a token to call this API
27
+ #ENDPOINT=https://graph.microsoft.com/v1.0/me
28
+
29
+ # This one is required if you are deploying to Azure App Service.
30
+ POST_BUILD_COMMAND=python manage.py migrate
31
+
Original file line number Diff line number Diff line change
1
+ # This sample can be configured to work with Microsoft External ID.
2
+ #
3
+ # If you are using a Microsoft Entra External ID for customers (CIAM) tenant,
4
+ # configure AUTHORITY as https://contoso.ciamlogin.com/contoso.onmicrosoft.com
5
+ AUTHORITY=<authority url>
6
+
7
+ # The following variables are required for the app to run.
8
+ CLIENT_ID=<client id>
9
+ CLIENT_SECRET=<client secret>
10
+
11
+ # Your project's redirect URI that you registered in Azure Portal.
12
+ # For example: http://localhost:5000/redirect
13
+ REDIRECT_URI=<your redirect uri>
14
+
15
+ # The following variables are required if the app needs to call an API.
16
+ #
17
+ # Multiple scopes can be added into the same line, separated by a space.
18
+ # Here we use a Microsoft Graph API as an example
19
+ # You may need to use your own API's scope.
20
+ #SCOPE=User.Read
21
+ #
22
+ # The sample app will acquire a token to call this API
23
+ #ENDPOINT=https://graph.microsoft.com/v1.0/me
24
+
25
+ # This one is required if you are deploying to Azure App Service.
26
+ POST_BUILD_COMMAND=python manage.py migrate
27
+
You can’t perform that action at this time.
0 commit comments