Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Based on Masquerade by dbloete we are setting up an identification service to be used by the CaDCC Members
Ruby
branch: master

This branch is 24 commits ahead, 176 commits behind dennisreimann:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib
public
script
test
vendor
.gitignore
MIT-LICENSE
README.rdoc
Rakefile

README.rdoc

masquerade OpenID Server

masquerade is an OpenID server released under the MIT-license.

For updates and further information see the project website.

The source code is available at github - feel free to fork and submit patches :)

Installation

  1. Configure the database:

  • rename the file config/database.yml.example to database.yml

  • set the values in database.yml according to your database

  • run the migration scripts rake db:migrate

  1. Configure the application:

  • rename the file config/app_config.yml.example to app_config.yml

  • set the values in app_config.yml according to your environment

  1. Run the tests and see if everything seems to work

rake test

Testing the installation

You can test the functionality in your local environment starting two instances: One as your Identity Provider/OpenID Server and another one as Relying Party.

ruby script/server ruby script/server -p 3001

Open your browser with these urls:

First you have to create an account at the Identity Provider, after that you will be able to use the issued OpenID URL (localhost:3000/YOUR_LOGIN) to send requests from the Relying Party to the server.

Use the options provided by the OpenID verification form to test several aspects of the client-server communication (like requesting simple registration data).

Introduction

The main functionality is in the server controller, which is the endpoint for incoming OpenID requests. The server controller is supposed to only interact with relying parties a.k.a. consumer websites. It includes the OpenidServerSystem module, which provides some handy methods to access and answer OpenID requests.

TODO

  • Let the user set a standard persona which is used as default for requests

Notes

Inspiration derived from:

Contact

Dennis Blöte: mail@dennisbloete.de

Something went wrong with that request. Please try again.