Skip to main content

Simple HTTP Server behind the OAuth

Project description

Janitor is a simple HTTP Server that supports OAuth authentication.

  1. 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
  2. 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.0.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Janitor-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2892c17235331fe05f4dc2a1f9a9221f3055dd40bfd08e4d24d0ad5f8db81b67
MD5 ebfe269129b34f01325e7194d0a0db5a
BLAKE2b-256 cc7af8f2593049f91ca53a5f5f6b5ca5b0f2864f50f5a84830bcde3202e56799

See more details on using hashes here.

Supported by

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