This repository was archived by the owner on Aug 29, 2018. It is now read-only.
This repository was archived by the owner on Aug 29, 2018. It is now read-only.
Add support for 'Bearer token' style header #5
Closed
Description
It should also probably be the first priority. It's as simple as changing these lines to these:
jwtFromRequest: ExtractJwt.fromExtractors([
ExtractJwt.fromAuthHeader()
ExtractJwt.fromHeader(jwtSettings.header.toLowerCase()),
ExtractJwt.fromBodyField(jwtSettings.bodyKey)
])
and writing a quick test.
Metadata
Metadata
Assignees
Labels
No labels