forked from Alino/OIDC-client-ts-chromium-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
35 lines (32 loc) · 847 Bytes
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MSAL Browser Sample Chromium Extension</title>
<style type="text/css">
body {
width: 500px;
}
.hidden {
display: none;
}
</style>
</head>
<body>
<div>
<h2>Actions</h2>
<button id="sign-in">Sign In</button>
<button id="sign-in-hint" class="hidden"></button>
<button id="sign-out">Sign Out</button>
<h2>Signed In User</h2>
<dl>
<dt>Username:</dt>
<dd id="username"></dd>
<dt>Display name:</dt>
<dd id="displayname"></dd>
</dl>
</div>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>