Skip to main content
https://img.shields.io/badge/code%20style-black-000000.svg https://app.codacy.com/project/badge/Grade/199fd463ff1a487eb206a2afbfb25168 https://badge.fury.io/py/py-auth-micro.svg https://github.com/bad-microservices/py_auth_micro/actions/workflows/documentation.yaml/badge.svg https://github.com/bad-microservices/py_auth_micro/actions/workflows/pypi_upload.yaml/badge.svg

Introduction

py_auth_micro is a small identity provider library which can use an LDAP/AD as upstream Identity Provider and can also store Users Localy.

The Authentication and Authorization is done via ID-Tokens and Access-Tokens. The ID-Tokens are given out after a User successfully logged in. With this ID-Token a User can request an Access-Token which he can send to other (Micro-)Services to gain access According to his Permissions.

The Tokens are JWT Tokens which can either be signed with an symetric HMAC-Secret or with an RSA-Key.

Documentation

You can find the documentation here

Alternatively you can build it yourself by running make doc

TODO

There is still alot todo for the 1.0.0 Release. The following list contains the most important stuff

  • ☐ Reset-Password functionality

  • ☐ Unit Tests
    • ☐ WorkFlows
      • GroupWorkflow

      • SessionWorkflow

      • UserWorkflow

    • ☐ Models
      • Group

      • Token

      • User

    • ☐ LoginHandler
      • LoginLDAP

      • LoginLocal

    • ☐ Core
      • LDAPHelper

      • _ConnectionHandler

  • ☐ Documentation
    • ☑ Api Reference

    • ☑ Installation

    • ☐ Example Code

Contributing

Missing a Feature or found a bug? Create an Issue or make a Pull-Request ;)

If you have any Question regarding this library feel free to create an issue.

Release files for py-auth-micro 0.2.7

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

Source distribution (sdist)

Source distribution for py-auth-micro 0.2.7
File Size Uploaded
py_auth_micro-0.2.7.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-auth-micro 0.2.7
File Interpreter ABI Platform
py_auth_micro-0.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 43.8 kB

Release files / py_auth_micro-0.2.7.tar.gz

Download URL py_auth_micro-0.2.7.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
973b8021470917294bae35458ec2f619e384656f17c06300f5ac157d83b35efc
BLAKE2b-256 checksum
How to use checksums
03a39b8d5847dad49ed6b7ae05d9d070a36a5c4269a83abf6569fa153a48f0ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / py_auth_micro-0.2.7-py3-none-any.whl

Download URL py_auth_micro-0.2.7-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b43425f6f7ca01bb02f452f15003b93b8d700c32a960a6a30a6d0c91d5f202fe
BLAKE2b-256 checksum
How to use checksums
89d59feb90dfee51bed3c417eec9e7e22f672bc5e982c743e6a05f573bd88223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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