Skip to content

Commit

Permalink
Clarify use of custom extractor function.
Browse files Browse the repository at this point in the history
In lieu of PR #170.
  • Loading branch information
mikenicholson committed Mar 16, 2019
1 parent 499bd4a commit 0bb68bf
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 @@ -121,6 +121,8 @@ var cookieExtractor = function(req) {
}
return token;
};
// ...
opts.jwtFromRequest = cookieExtractor;
```

### Authenticate requests
Expand Down

0 comments on commit 0bb68bf

Please sign in to comment.