87fe27ed

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Add authentication using a shared secret (#131)

This is a temporary stepping stone we're using before we switch to magic email login auth in #103. Since adding any type of sessions is, in itself, a complex change, I'd rather do it in smaller steps.

Step 1 is getting authenticated sessions implemented using a simple auth system (shared secret). We'll subsequently rebase magic login onto this so that the magic login change just swaps out shared secret auth for magic login auth.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/131