Hey Daniel! Sorry about the delay. I wrote my own implementation mostly because of two things:
- I use tRPC through fastify
- I wanted to avoid the "magic" of not understanding how the state access/refresh tokens are stored in an app/api storage. I wanted that these tokens would be stored as http-only, lax, strict cookies. If i remember back when I first wrote the code, the documentation never made any references to how these tokens were stored.