-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
93 lines (67 loc) · 2.74 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!-- HTML File auf der Root des Servers für Authentifizierung -->
<!--
Kommentiere entweder den HTML-Block für die Password-Authentication resp.
Magiclink-Authentication ein oder aus.
-->
<!-- START Magiclink Authentication -->
<!-- START Magiclink Authentication -->
<!-- START Magiclink Authentication -->
<!-- START Magiclink Authentication -->
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SupaBase Auth </title>
<script src="https://unpkg.com/@supabase/supabase-js@2"> </script>
<script src="https://cdn.jsdelivr.net/npm/@supabase/[email protected]/dist/umd/supabase.min.js"></script>
</head>
<body>
<div>
<h2>Magic Link Authentication</h2>
<input type="email" id="emailInput" placeholder="Enter your email" />
<button id="sendMagicLinkButton">Send Magic Link</button>
</div>
<p id="userStatus">Checking authentication status...</p>
<button id="logoutButton">Logout</button>
<script type="module" src="../../00_setup/supabase.js"></script>
<script type="module" src="03_authentication/1_magiclink.js"></script>
</body>
</html>
<!-- ENDE Magiclink Authentication -->
<!-- ENDE Magiclink Authentication -->
<!-- ENDE Magiclink Authentication -->
<!-- ENDE Magiclink Authentication -->
<!-- START Password Authentication -->
<!-- START Password Authentication -->
<!-- START Password Authentication -->
<!-- START Password Authentication -->
<!-- <!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SupaBase Auth - Password</title>
<script src="https://unpkg.com/@supabase/supabase-js@2"> </script>
<script src="https://cdn.jsdelivr.net/npm/@supabase/[email protected]/dist/umd/supabase.min.js"></script>
</head>
<body>
<div>
<h2>Email & Password Authentication</h2>
<input type="email" id="emailInput" placeholder="Enter your email" />
<input type="password" id="passwordInput" placeholder="Enter your password" />
<button id="loginButton">Login</button>
<button id="signupButton">Sign Up</button>
</div>
<p id="userStatus">Checking authentication status...</p>
<button id="logoutButton">Logout</button>
<script type="module" src="../../00_setup/supabase.js"></script>
<script type="module" src="03_authentication/2_password.js"></script>
</body>
</html> -->
<!-- ENDE Password Authentication -->
<!-- ENDE Password Authentication -->
<!-- ENDE Password Authentication -->
<!-- ENDE Password Authentication -->