-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
37 lines (27 loc) · 1.28 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html><head><title>Azure AD Authentication in single page apps</title></head>
<body>
<h1>Azure AD authentication in single page apps</h1>
<p>
These examples show how Azure AD authentication is done, and how the credentials are then used to
either call Azure AD (AAD) protected MS resources, or your own AAD protected function app.
</p>
<h3>Example code</h3>
<ul>
<li><a href="./plainlogin">Plain login</a></li>
<li><a href="./graphapi">Login and then call AAD protected MS Graph API</a></li>
<li><a href="./functioncall">Login and then call your own AAD protected function</a></li>
</ul>
<h3>Read the related blog with explanations</h3>
<ul>
<li>English: <a href="https://jannehansen.com/call-aad-functions-from-spa/" target="_blank">Call Azure AD protected Functions from Single Page App</a></li>
<li>Finnish: <a href="https://jannehansen.com/fi/aad-funktio-kutsu-spa/" target="_blank">Azure AD suojattujen funktioiden kutsuminen Single Page - sovelluksista</a></li>
</ul>
<h3>Original Microsoft example used to create this simplified demo</h3>
<ul>
<li><a href="https://github.com/Azure-Samples/ms-identity-javascript-v2" target="_blank">MSAL.js 2.x Vanilla JavaScript Single-page Application</a></li>
</ul>
<p>
© Janne Hansen 2020
</p>
</body>
</html>