Express middleware for Firebase to validate the JWT token.
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
admin.auth.DecodedIdToken) is placed in the request object.