-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (35 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="One Auth for Raj Chandra's ME apps">
<link rel="manifest" href="manifest.json">
<title>Login - Me Apps</title>
<!-- import google signin -->
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="843832086130-3gvh6ucajv3j0kcldpuij5oj5ttse1in.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="serviceWorker.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 d-flex flex-column bd-highlight">
<header class="h4 text-center mt-5">One Authentication App</header>
<p class="text-center">After authentication you will be redirected back to your app</p>
<div class="text-center d-flex justify-content-center mt-4 mb-4 logged-out"><span id="g-signin-btn"></span> </div>
<div class="redirect_btn text-center loggedin"></div>
<div class="text-center loggedin"><button type="button" class="btn btn-light google-logout-btn mt-4 mb-4" >
You are logged in as <span class="username"></span>, logout?
</button></div>
<p class="text-center logged-out text-secondary"><small><b>Disclaimer</b>: By logging in, you will submit your basic profile which consists of email, name and your profile picture.</small></p>
</div>
</div>
</div>
<!-- import js files -->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script type="module" src="/src/components/auth.js"></script>
</body>
</html>