Skip to main content

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.

Metadata

Release files for clear-skies-auth-server 0.12.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clear-skies-auth-server 0.12.11
File Size Uploaded
clear_skies_auth_server-0.12.11.tar.gz 24.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clear-skies-auth-server 0.12.11
File Interpreter ABI Platform
clear_skies_auth_server-0.12.11-py3-none-any.whl Python 3 none any Details

Total release size: 63.1 kB

Release files / clear_skies_auth_server-0.12.11.tar.gz

Download URL clear_skies_auth_server-0.12.11.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
99dc7adcdd86a752d7455df58b0c061a066ddf0b77308d820b649113f44d16a8
BLAKE2b-256 checksum
How to use checksums
891d49492834df28d5cea9c0aef159c3c2a11d53f65304ada0c3d69cac3ffe6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-44-generic

Release files / clear_skies_auth_server-0.12.11-py3-none-any.whl

Download URL clear_skies_auth_server-0.12.11-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
418469bed628225ad5a4fa581016f8751f1cc4e1f7889aeba46eaffd81f02beb
BLAKE2b-256 checksum
How to use checksums
ac757a16ca0408b9ecb68a238c806ca78219c48a7ec51fec6f1e6454a4d53a6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-44-generic

Release history Release notifications | RSS feed

This release

0.12.11 This release

2 release files

0.12.8

2 release files

0.12.7

2 release files

0.12.5

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.4

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page