5.1.0 - Add support for Firebase Authentication
What's Changed
Add support for Firebase Authentication by @petrpavlik in #160
Add support for decoding Firebase Authentication JWT tokens.
- Provide project id when configuring your Vapor application
app.jwt.firebaseAuth.applicationIdentifier = firebaseProjectId
- Verify the token on a request
let token = try await req.jwt.firebaseAuth.verify() let email = token.email let name = token.name let avatarUrl = token.avatarUrl // ...
This patch was released by @ptoffy
Full Changelog: 5.0.0...5.1.0