Skip to content

Commit 3cf7cc5

Browse files
committed
Integrasikan firebase auth untuk platform web
1 parent 39542fe commit 3cf7cc5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

web/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@
4040
});
4141
}
4242
</script>
43+
<script src="https://www.gstatic.com/firebasejs/8.6.1/firebase-app.js"></script>
44+
<script src="https://www.gstatic.com/firebasejs/8.6.1/firebase-auth.js"></script>
45+
<script>
46+
var firebaseConfig = {
47+
apiKey: "AIzaSyALpdkGssiLUOnsRlyaZTh6gxXzSKSL6Ts",
48+
authDomain: "flutter-all-in-one-testing.firebaseapp.com",
49+
databaseURL: "https://flutter-all-in-one-testing.firebaseio.com",
50+
projectId: "flutter-all-in-one-testing",
51+
storageBucket: "flutter-all-in-one-testing.appspot.com",
52+
messagingSenderId: "396467899033",
53+
appId: "1:396467899033:web:6b74da59c022de74664608",
54+
measurementId: "G-81FRY04080"
55+
};
56+
firebase.initializeApp(firebaseConfig);
57+
</script>
4358
<script src="main.dart.js" type="application/javascript"></script>
4459
</body>
4560
</html>

0 commit comments

Comments
 (0)