Skip to content

Commit c5d8419

Browse files
aarongodinjfromaniello
authored andcommitted
Add a note about OAuth2 bearer tokens
1 parent 888f0e9 commit c5d8419

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ app.get('/protected',
2525
});
2626
```
2727

28+
> 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/).
29+
2830
You can specify audience and/or issuer as well:
2931

3032
```javascript

0 commit comments

Comments
 (0)