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
    [janitor]
    host = 127.0.0.1
    port = 8000
    secret_key = realsecretkey123123
    base_dir = /path/to/protected/files
    
    [auth]
    service = github
    client_id = githubapplicationclientid
    client_secret = githubapplicationclientsecret
    allowed_orgs = MyGHOrg
  3. Run the app with Janitor:

    $ janitor -c example.cfg

Project details


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 details)

Uploaded Source

File details

Details for the file Janitor-0.1.1.tar.gz.

File metadata

  • Download URL: Janitor-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Janitor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 45830c9dec3a9b953e039bcc423b13fca613b653ebcecafe1c21fbcfc1091bb6
MD5 ff8b3c081e8ea276ff0e270deb363abd
BLAKE2b-256 3ec529974ebf1686b6db866aa918be07f541b7e83e09bfe89032a51e9e96097a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page