Git Product home page Git Product logo

fedoauth's Introduction

Federated Open Authentication (FedOAuth)
========================================
FedOAuth is a provider for federated authentication mechanisms with a modular authentication backend.

Currently shipped are:
- OpenID
- Persona / BrowserID


Setup
-----
To setup a local hack instance, just copy fedoauth.cfg.sample to fedoauth.cfg, copy fedoauth.log.cfg.sample to fedoauth.log.cfg,
run "python setup.py develop" and execute ./runserver.

It should now say something like "Running on http://....:5000/"

Please note that by default all authentication backends and providers are disabled.


OpenID
------
The OpenID provider will work out of the box after configuration.

Please make sure to set enabled to True.


Persona
-------
Please note that Persona will require your server to be internet-accessible over TLS.

To get the Persona provider working, you need to generate a 2048-bit RSA key.
To do this, execute: openssl genrsa -des3 -out persona.key 2048

After this, configure the filename and passphrase to this key.

Please note that for this to work, you need to serve FedOAuth on the core of a domain with SSL.

If you host FedOAuth on id.example.com, you can get [email protected] to verify by putting a file with the following contents in the .well-known/browserid path for example.com:

{ "authority": "id.example.com" }

Please note that this file must be served over HTTPS.

Also, when using this (called delegation), CAREFULLY read the comment on the PERSONA_ISSUER configuration key.


Problems
--------
If you have any questions, do not hestitate to contact me.
Either ping me on IRC (puiterwijk on FreeNode) or drop an email to patrick AT puiterwijk DOT org.

fedoauth's People

Contributors

puiterwijk avatar pypingou avatar ralphbean avatar relrod avatar nbebout avatar ryanlerch avatar

Watchers

James Cloos avatar  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.