Skip to content

Commit

Permalink
Add a note about OAuth2 bearer tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongodin authored and jfromaniello committed Apr 7, 2020
1 parent 888f0e9 commit c5d8419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ app.get('/protected',
});
```

> The default behavior of the module is to extract the JWT from the `Authorization` header as an [OAuth2 Bearer token](https://oauth.net/2/bearer-tokens/).
You can specify audience and/or issuer as well:

```javascript
Expand Down

0 comments on commit c5d8419

Please sign in to comment.