8000 Update README.md · iambryansanders/quickstart-js@f343757 · GitHub
[go: up one dir, main page]

Skip to content

Commit f343757

Browse files
Update README.md
1 parent 962b22a commit f343757

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

auth/chromextension/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ Firebase Auth w/ Chrome Extensions Quickstart
33

44
This sample shows how to authorize Firebase in a Chrome extension using a Google account.
55

6+
Feel free to try out a deployed version of the Chrome Extension directly: https://chrome.google.com/webstore/detail/lpgchdfbjddonaolofeijjackhnhnlla
7+
68
Introduction
79
------------
810

911
- [Read more about Firebase Auth](https://firebase.google.com/docs/auth/)
1012

11-
Getting Started
13+
Setting up this sample
1214
---------------
1315

1416
- Create a Firebase project using the [Firebase Console](https://console.firebase.google.com).
@@ -19,8 +21,6 @@ Getting Started
1921
- Edit the `manifest.json` and enter your **Client ID** and your extension's **Public Key**. Also make sure you remove all comment lines (starting with `//`) in the `manifest.json` file before deploying your extension online.
2022
- Install the Extension in your browser and click on the extension's icon once installed. The first time your users will install the extension they will have to authorize Firebase using the login button.
2123

22-
Feel free to try out a deployed version of the Chrome Extension directly: https://chrome.google.com/webstore/detail/lpgchdfbjddonaolofeijjackhnhnlla
23-
2424

2525
Using Firebase in your own extension
2626
------------------------------------
@@ -39,10 +39,9 @@ The keys to using Firebase in a Chrome extension are:
3939

4040
- Adding the following content security policy to your `manifest.json` to allow importing the Firebase SDK and accessing the Realtime Database as well as Firebase Storage:
4141

42-
```javascript
43-
"content_security_policy":"script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self'"
44-
```
45-
42+
```javascript
43+
"content_security_policy":"script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self'"
44+
```
4645

4746

4847
Support

0 commit comments

Comments
 (0)
0