Skip to main content

Simple HTTP Server behind the OAuth

Project description

Janitor is a simple HTTP Server that supports OAuth authentication.

  1. Install Janitor:

    $ pip install janitor
  2. Write a configuration file:

    $ cat example.cfg
    host =
    port = 8000
    secret_key = realsecretkey123123
    base_dir = /path/to/protected/files
    service = github
    client_id = githubapplicationclientid
    client_secret = githubapplicationclientsecret
    allowed_orgs = MyGHOrg
  3. Run the app with Janitor:

    $ janitor -c example.cfg

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Janitor-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page