Coder Social home page Coder Social logo

kdenisnoah / okfsso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okffi/okfsso

0.0 2.0 0.0 2.54 MB

Light Python Single Sign On service using OAuth2

License: BSD 3-Clause "New" or "Revised" License

Python 17.75% HTML 6.53% CSS 73.10% JavaScript 2.62%

okfsso's Introduction

OKF SSO

Simple Single Sign On service. Uses OAuth2 to authenticate and provides a data exchange API to allow client apps to publish information to each other.

Lightweight; operating the service needs some 30 to 40 megabytes of memory and as such, should run on a Raspberry Pi. Self contained: Does not need an Internet connection.

Install and Run

To get running, have Python installed and available on your shell. Then:

> pip install -r requirements.txt
> python manage.py migrate
> python manage.py runserver

Instead of using runserver, you may opt for any WSGI server. Please follow Django's or that WSGI server's documentation to do so. You may also want to python manage.py collectstatic and point your webserver to serve the newly created staticfiles/ directory at /static/.

For production use, creating your own settings file that sets a custom SECRET_KEY and disables DEBUG is highly recommended. Anything less is hilariously insecure.

Maintenance

Use python manage.py createsuperuser to create an admin account and point your browser to the /admin/ path on the running service.

okfsso's People

Contributors

hylje avatar

Watchers

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