Authorio
This article is a stub. You can help the IndieWeb wiki by expanding it.
Authorio is a Rails engine / Ruby gem that enables authentication endpoint functionality.
If you are looking for a minimal, self-hostable authorization-endpoint, see selfauth.
Why
- If you already have your own server running on the Rails framework, Authorio is a simple way to join IndieAuth.
- You can use your established web site URL as your identity.
- You don't need silo accounts to use Authorio. You can eliminate all dependencies on Twitter or GitHub and enjoy a 100% federated identity.
- All your data is contained on a server you control.
How-to
This is a condensed version of the Installation instructions in the README
- Add the gem to your Gemfile
gem install authorio
and install itbundle
- Install the Authorio config files:
rails generate authorio:install
- Install and perform the database migrations
rails authorio:install:migrations
rails db:migrate
- Add
authorio_routes
to yourroutes.rb
- Add
<%= indieauth_tag %>
to your home page - Set your initial password:
rails authorio:password
- Add Authorio's assets to your asset pipeline:
rails assets:precompile
- Restart your site
Setup complete! You should now be able to use your site's URL to log in to an IndieAuth client.
Alternatives
Authorio can be an excellent solution if you already have your own Rails-based server set up. But it might not be the best solution for you.
- If you don't want to set up and manage your own web server, you're better off using rel=me and RelMeAuth to manage your identity.
- If you have a server, but it's not built on the Rails framework, then Authenio is not for you. There are plugins for other frameworks, such as the WordPress Plugin for WordPress sites.
- If you want to run your own authentication endpoint but you don't have a server yet, you might be better with an all-in-one server + IndieAuth solution like selfauth or Acquiescence