zorn / franklin

Franklin is written in Elixir, Phoenix, and LiveView and is an intentionally over-engineered blog application. It uses an event-sourced / CQRS core (via commanded) along side modern component-based UI presentation. It aims to make even the simple things overly complex in the spirit of personal education towards these architecture decisions.
MIT License
16 stars 5 forks source link

Add an authentication system for the admin. #233

Closed zorn closed 1 year ago

zorn commented 1 year ago

Context

In previous work, I removed the Basic auth config as it was causing me trouble with live reload. In advance of adding some API tooling I really need to have some authentication for the admin in place.

This work will add some basic auth tooling, though in a limited fashion to what I need. Eg: I will not be including registration (as it's just me and I'll configure the deployment to make the first account).

I'm also going to skip things like forgot password or even change password to get this in and unblock other work.