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: README.md
+42-16Lines changed: 42 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,10 @@ Write your app like this once, and the same implementation will support 4x2=8 sc
15
15
16
16
### Prerequisites
17
17
18
-
1. Register your web application in the Microsoft Entra admin center,
19
-
by following step 1, 2 and 3 of this
20
-
[Quickstart: Add sign-in with Microsoft to a Python web app](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-web-app-python-sign-in?tabs=windows)
21
-
(Note: There will be articles on how to register your app with External ID, etc..)
22
18
1. Have [Python](https://python.org) 3.8+ installed
or download its zip package, and then start using it or build on top of it.
26
-
(Alternatively, you can follow our [tutorial](#tutorial) to learn
27
-
how to build this from scratch, or how to add auth to your existing project.)
28
22
1.`cd project_name`
29
23
1. Run `pip install -r requirements.txt` to install dependencies
30
24
1. Run `python manage.py migrate` to initialize your Django project
@@ -42,6 +36,33 @@ Write your app like this once, and the same implementation will support 4x2=8 sc
42
36
<th>Microsoft Entra External ID with Custom Domain</th>
43
37
<th>Azure AD B2C</th>
44
38
</tr>
39
+
40
+
<tr>
41
+
<th>App Registration</th>
42
+
<td><!-- See https://github.com/github/cmark-gfm/issues/12 -->
43
+
44
+
Following only the step 1, 2 and 3 of this
45
+
[Quickstart: Add sign-in with Microsoft to a Python web app](https://learn.microsoft.com/entra/identity-platform/quickstart-web-app-python-sign-in?tabs=windows)
46
+
47
+
</td>
48
+
<td>
49
+
50
+
Follow only the page 1 of this [Tutorial: Prepare your customer tenant ...](https://learn.microsoft.com/entra/external-id/customers/tutorial-web-app-python-flask-prepare-tenant)
51
+
52
+
</td>
53
+
<td>
54
+
55
+
Coming soon.
56
+
57
+
</td>
58
+
<td>
59
+
60
+
Following only the step 1 and 2 (including 2.1 and 2.2) of this
61
+
[Configure authentication in a sample Python web app by using Azure AD B2C](https://learn.microsoft.com/azure/active-directory-b2c/configure-authentication-sample-python-web-app?tabs=linux)
62
+
63
+
</td>
64
+
</tr>
65
+
45
66
<tr>
46
67
<th rowspan=2>Configuration</th>
47
68
<td><!-- See https://github.com/github/cmark-gfm/issues/12 -->
@@ -58,7 +79,7 @@ as `.env` and then modify `.env` with your app's settings.
58
79
</td>
59
80
<td>
60
81
61
-
Copy this [CIAM Custom Domain template](.env.sample.ciam-custom-domain)
82
+
Copy this [External ID with Custom Domain template](.env.sample.external-id-custom-domain)
62
83
as `.env` and then modify `.env` with your app's settings.
63
84
64
85
</td>
@@ -108,21 +129,26 @@ Now restart this sample and try its "Call API" experience.
* Follow the ["Quickstart: Deploy a Python (Django or Flask) web app to Azure App Service"](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python),
121
143
but replace its sample app (which does not do user sign-in) with this web app.
122
-
123
144
*[Configure your app's settings](https://learn.microsoft.com/en-us/azure/app-service/configure-common?tabs=portal#configure-app-settings)
0 commit comments