Warren's homepage

Bookmark this to keep an eye on my project updates!

View My GitHub Profile

30 January 2024

Flutter Fig

by

gRPC authentication and Flutter

I have always been a fan of the “contract first” approach that gRPC and protobuf provides. There are plenty of tutorials that explain how to use gRPC with Dart, but they mostly gloss over the problem of authentication and session management.

To that end, I created a proof of concept on how to implement gRPC authentication between a Flutter client and a Dart gRPC service.

The Fig provides server (fig_auth) and client (fig_flutter) libraries to provide authentication and session management using gRPC.

The basic gist of Fig (Firebase Identity for Flutter using gRPC) is this:

tags: Flutter - Dart - gRPC