Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple Open ID auth plugin for userless apps

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb

Simple Admin

A database-less admin authentication based on OpenID

Requires the following gems

  • ruby-openid
  • rack-openid


Install the plugin

script/plugin install git://

Add the following before filter to any protected controllers

before_filter :ensure_admin

List the authorized OpenId's in 'config/simple_admins.yml'


When you login you should see this


The following helpers are available in your controller and views:

  • current_user - returns the current authenticated user
  • authorized? - tells you whether or not the current session is authenticated
Something went wrong with that request. Please try again.