Coder Social home page Coder Social logo

resistorsoftware / masquerade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dennisreimann/masquerade

1.0 2.0 0.0 5.54 MB

A Ruby on Rails-based OpenID server for all ya identity providers out there. It supports the current OpenID specifications (OpenID 2.0) and supports SReg, AX (fetch and store requests) and PAPE as well as some custom additions like multifactor authentication using a yubikey (see http://yubico.com)

Home Page: http://dennisbloete.de/projects/masquerade/

License: MIT License

masquerade's Introduction

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: [email protected]

masquerade's People

Contributors

djmaze avatar sagmor avatar kou avatar moorage avatar

Stargazers

David Lazar avatar

Watchers

David Lazar avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.