I recently set up my personal domain as an identity provider, using static HTML/javascript files and a bit of crypto:
https://www.rfk.id.au/blog/entry/persona-identity-provider/
There are some things to be mindful of w.r.t. security in this approach, but it seems to work very nicely for me.