The Signin crate

For an unreleased personal project, I wanted to support Google SignIn.

With it, you can “Enable Google Sign-In with only a few lines of code”.

On the client side, a web frontend, whenever a user signs in, a token is generated.

Then, this token is passed on all requests to the backend as a way to authenticate users.

However, I needed to verify the tokens. I couldn’t find anything that suited my needs so I decided to write a small library for that and publish it as a crate.

The code is on Github. I’ve also written a small documentation.