Sign inSign up

jimelrod/firebase-verification-server

By jimelrod

•Updated about 9 years ago

Verifies firebase tokens

Image
0

363

jimelrod/firebase-verification-server repository overview

⁠firebase-verification-server

Simple server that verifies firebase id tokens

Accepts GET requests to the server/health-check endpoint that returns a 200 status

Accepts POST requests at the server/ endpoint with a body as follows:

{
    token: [JWT to be authorized]
}

It returns a 200 status if successful, 400 if not.

⁠Usage

To start the server run the following (after npm install, of course):

node index -p [port number] -s [path to firebase service account key]

Tag summary

Content type

Image

Digest

Size

254.3 MB

Last updated

about 9 years ago

docker pull jimelrod/firebase-verification-server