Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: vanilla auth update

awaliasd0b3b372905e
diff --git a/examples/javascript-auth/index.html b/examples/javascript-auth/index.html
index b8357fdd5e7..56907baa0ec 100644
--- a/examples/javascript-auth/index.html
+++ b/examples/javascript-auth/index.html
@@ -2,7 +2,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <script src="https://unpkg.com/@supabase/supabase-js"></script>
+ <script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js"></script>
<script src="./index.js"></script>
<link rel="stylesheet" type="text/css" href="./index.css">
</head>
diff --git a/examples/javascript-auth/index.js b/examples/javascript-auth/index.js
index 5b16fdf6043..480acb7afa5 100644
--- a/examples/javascript-auth/index.js
+++ b/examples/javascript-auth/index.js
@@ -1,9 +1,9 @@
-var SUPABASE_URL = '<supabase url - retrieve from supabase dashboard>'
+var SUPABASE_URL = 'https://ernhobnpmmupjnmxpfbt.supabase.co'
var SUPABASE_KEY =
- '<client key - retrieve from supabase dashboard>'
+ 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxMzA5ODU0NCwiZXhwIjoxOTI4Njc0NTQ0fQ.Z9bRrfaL2oGhSuyBckFcdcnRIJDelWJ1II98OnEtLO0'
-var supabase = Supabase.createClient(SUPABASE_URL, SUPABASE_KEY)
+var supabase = supabase.createClient(SUPABASE_URL, SUPABASE_KEY)
window.userToken = null
document.addEventListener('DOMContentLoaded', function (event) {