Photo of Barry Frost

This is Barry Frost’s personal website.

Tagged #acquiescence

A couple of recent site/Transformative changes:

  1. I’m now using Acquiescence, my new IndieAuth server for auth/tokens, on this domain.
  2. You can subscribe to a new JSON feed for homepage content. The RSS feed hasn’t gone away but I thought I’d also support the new JSON Feed format.

Acquiescence: a basic IndieAuth server

IndieAuth is a method for using your own domain name to sign in to other sites and tools. It’s one of the key parts of Micropub, the (newly) W3C recommended standard for posting to your site. IndieAuth.com is the original and one of the very few public implementations of an IndieAuth server that you can use, but recently I’ve been having problems getting it to work with my site’s SSL setup.

So I decided this was a good opportunity to try building my own IndieAuth authorization and token endpoints using the detailed documentation in the IndieWeb wiki.

And Acquiescence is the result. It’s very simple (~160 lines of Ruby) and allows me to use my GitHub account to authenticate, authorise and grant scoped access to third-party tools like Micropublish. I’m now using it for this site’s domain.

I’ve used my favourite stack of Ruby, Sinatra and Heroku for hosting, plus Redis to store the auths/tokens. The source code is available at https://github.com/barryf/acquiescence if you want to poke around.