Skip to content

Commit

Permalink
update readme with link
Browse files Browse the repository at this point in the history
  • Loading branch information
antonybudianto committed Nov 19, 2017
1 parent e85a6a9 commit 2ad3de7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Express middleware for your Firebase applications.
## Minimum requirements
- Node 6 or later
- npm 3 or later
- Firebase account

## How to use
1. Install the packages using npm
Expand All @@ -27,10 +28,10 @@ Express middleware for your Firebase applications.

3. Now make sure the client's requests have Authorization header like
```
Authorization Bearer <your-client-token>
Authorization: Bearer <your-client-token>
```
The client can get the token from their client SDK (Web, Android, iOS Firebase SDK)
The client can [get the token](https://firebase.google.com/docs/auth/admin/verify-id-tokens) from their client SDK (Web, Android, iOS Firebase SDK)
4. When requesting, and token is valid, you can get the `user` object from response
```js
Expand Down

0 comments on commit 2ad3de7

Please sign in to comment.