-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
49 lines (37 loc) · 1.36 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
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>SimpleLogin-OpenIDConnect example</title>
<!-- Bootstrap css -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- Bootstrap social for styling social login buttons -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.12.0/bootstrap-social.min.css">
<!-- To include SimpleLogin icon -->
<link rel="stylesheet" type="text/css" href="https://simplelogin.io/font/flaticon.css">
<style>
html, body
{
height: 100%;
}
body
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<button class="btn btn-social btn-primary" onclick="login()">
<i class="flaticon-021-shield-7"></i> Login with SimpleLogin With OpenIdConnect.js
</button>
<!-- OpenID Connect -->
<script src="https://www.sakimura.org/test/openidconnect.js"></script>
<script src="/main.js"></script>
</body>
</html>