Expand description

Encode/decode Firebase tokens in Rocket apps with ease

Description

rocket-firebase-auth is a plug-and-play, batteries included firebase auth library that handles the encoding/decoding of Firebase tokens on Rocket servers. The library is built primarily for backends that use Firebase tokens as a means of authentication from the client.

Features

rocket-firebase-auth has two features:

env: Includes functions that helps in initializing Firebase Auth from dotenv files

encode: Adds support for encoding tokens

Modules

Extracting bearer tokens from request headers
Error management for the library
Structs and functions essential and initializing Firebase Auth
JWKs fetcher module
Token encoding/decoding module
Bridge with Rocket