forked from firebase/flutterfire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[firebase_auth] Endorse web implementation (firebase#1601)
- Loading branch information
Harry Terkelsen
authored
Dec 11, 2019
1 parent
a8873ed
commit a4779ef
Showing
4 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
packages/firebase_auth/firebase_auth/example/web/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="google-signin-client_id" content="159623150305-q05bbbtsutr02abhips3suj7hujfk4bg.apps.googleusercontent.com" /> | ||
<title>Firebase Auth Example</title> | ||
</head> | ||
<body> | ||
<script src="https://www.gstatic.com/firebasejs/7.5.0/firebase-app.js"></script> | ||
<script src="https://www.gstatic.com/firebasejs/7.5.0/firebase-auth.js"></script> | ||
<script> | ||
// Your web app's Firebase configuration | ||
var firebaseConfig = { | ||
apiKey: "AIzaSyBMaLre-rTS-P_J7LlcHRfrKoL0WemP0kw", | ||
authDomain: "flutter-firebase-plugins.firebaseapp.com", | ||
databaseURL: "https://flutter-firebase-plugins.firebaseio.com", | ||
projectId: "flutter-firebase-plugins", | ||
storageBucket: "flutter-firebase-plugins.appspot.com", | ||
messagingSenderId: "159623150305", | ||
appId: "1:159623150305:web:b2b676fa6ead437bbf95a0" | ||
}; | ||
// Initialize Firebase | ||
firebase.initializeApp(firebaseConfig); | ||
</script> | ||
<script src="main.dart.js" type="application/javascript"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters