I'm slowly getting the hang of IndieWeb building blocks. Today I set up IndieAuth on my server using selfauth! Now I can authenticate myself as "moule.world" on any website that supports IndieAuth, including Owncast livestream chats!

How to setup selfauth: https://indieweb.org/selfauth

My next plan: making an "announcements" section of my website, which will use microformats2, support webmentions, hopefully Fediverse reactions and comments, and of course good ol' RSS.

#IndieAuth #IndieWeb #SelfAuth

selfauth

selfauth is a single user authorization endpoint written as single-file PHP without a database.

IndieWeb

The #Micropub "server" was based on @adactio's minimal micropub endpoint gist: https://gist.github.com/adactio/8168e6b78da7b16a4644
(mostly because I wanted to understand the mechanics of Micropub)

For auth + token, I didn't want to depend on 3rd party silos, so tried #SelfAuth and #MiniToken. Basic tests worked, but failed horribly with real-world #Micropub client, e.g. #Quill.
https://github.com/Inklings-io/selfauth
https://github.com/Zegnat/php-mintoken

So ended up using the de facto https://indieauth.com/ for auth + token. C'est la vie. 🤷‍♂️

Minimal micropub endpoint.

Minimal micropub endpoint. GitHub Gist: instantly share code, notes, and snippets.

Gist