@graywolfai/firebase-express-jwt
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@graywolfai/firebase-express-jwt

firebase-express-jwt

Express middleware for Firebase to validate the JWT token.

Usage

npm i @graywolfai/firebase-express-jwt

Requests that go to handlers that use this middleware should have an Authorization: Bearer <TOKEN>. If the validation fails for any reason, a response with a status 401 is returned (see index.ts for details). If validation succeeds, the decoded user (admin.auth.DecodedIdToken) is placed in the request object.

Package Sidebar

Install

npm i @graywolfai/firebase-express-jwt

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

3.85 kB

Total Files

5

Last publish

Collaborators

  • msampson
  • jsmith21