#postgresql #session #storage #ecosystem #authentication #user #oauth2 #passkeys

torii-storage-postgres

Postgres storage backend for the torii authentication ecosystem

3 releases

Uses new Rust 2024

0.2.2 Mar 5, 2025
0.2.1 Feb 27, 2025
0.2.0 Feb 27, 2025

#2309 in Database interfaces


Used in torii

MIT license

130KB
3K SLoC

torii-storage-postgres

This crate provides a Postgres storage implementation for Torii.

It provides implementations for the following traits:

  • UserStorage - for storing and retrieving users
  • SessionStorage - for storing and retrieving sessions
  • EmailAuthStorage - for use by the torii-auth-password plugin

Dependencies

~39–52MB
~1M SLoC