Skip to main content

clearskies bindings for managing an authentication server that issues JWTs

Project description

clearskies-auth-server

Contains the handlers needed to manage an authentication server with clearskies.

Getting started

pip install clear-skies-auth-server

Click here for a detailed usage example.

Overview

This package provides the various pieces needed to manage an authentication server. Specifically, it authenticates users and issues signed JSON Web Tokens (JWTs) for other services to validate. This is intended for use as a stand-alone identity provider (IdP) and so requires a datastore where users (and, if needed, passwords) are validated. Naturally, the datastore is provided via a clearskies model, and thus this can work with a wide variety of backends.

In essence, you get to chose which parts of the auth server you need, provide a bit of configuration, and wrap the handlers up in a standard clearskies SimpleRouting handler. Naturally, clearskies will auto-generate your OAI3 docs for you.

Keep in mind that this is the backend API endpoints only. You'll have to provide your own frontend.

Handlers

The following handlers are provided by this package to expose the necessary parts of the authorization server:

  1. generate-keys
  2. jwks
  3. password_login
  4. password_less_email_request_login
  5. password_less_validate_login

Roadmap for 1.0:

  • MFA

JWKS

This handler publishes the JSON Web Key Set (JWKS) that is necessary for JWT consumers to validate JWTs created by the service.

Password Login

This manages password-based logins.

Password-less Email Request Login

For a password-less login system, this allows a user to request a login. Note that for minimalist systems, an explicit registration step is no longer required.

Password-less Validate Login

Validates the login (and possibly completes registration) for a password-less login system.

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

clear_skies_auth_server-0.12.7.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

clear_skies_auth_server-0.12.7-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file clear_skies_auth_server-0.12.7.tar.gz.

File metadata

  • Download URL: clear_skies_auth_server-0.12.7.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-35-generic

File hashes

Hashes for clear_skies_auth_server-0.12.7.tar.gz
Algorithm Hash digest
SHA256 4cd591a43757bfdefb0e09840459119f5f04df97a9186e9d22d6d35f60e7d980
MD5 82425d8058f54d3c548ddc83401ffe27
BLAKE2b-256 830cbc5ed5ac863515b180930feaa025e9752673178796d67c6368994d6c92eb

See more details on using hashes here.

Provenance

File details

Details for the file clear_skies_auth_server-0.12.7-py3-none-any.whl.

File metadata

File hashes

Hashes for clear_skies_auth_server-0.12.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2f8d38219a28c336970d73ac5fa00bfd017c133785daa55dcab96954c2079d
MD5 128e9f148cc0eecf362f860db44af145
BLAKE2b-256 0a82ee25d3a426c9745d0d312392c65971868a50ad0503a07d36ee0dca61a561

See more details on using hashes here.

Provenance

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