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

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 0s 3s 3s 3s 0s
Eval 3s 45s 45s 49s 0s
Build 5s 1m55s 15s 21s 0s
Suite 0s 2m45s 49s 49s 0s

Timeline

0s10s20s30s40s