Skip to main content

A wrapper around pyjwt

Project description

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.

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

py_auth_micro-0.2.4.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_auth_micro-0.2.4-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file py_auth_micro-0.2.4.tar.gz.

File metadata

  • Download URL: py_auth_micro-0.2.4.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for py_auth_micro-0.2.4.tar.gz
Algorithm Hash digest
SHA256 5ce2c22ecd298be8ec55737cf94ea3088150547eb58d9d0ed3d7f18b92f1e778
MD5 4402986e544b4862d9b3e93a387faa6e
BLAKE2b-256 143a846433e870ddc4c188ead3964bad33ca41f316248098dcae82496e08ded5

See more details on using hashes here.

File details

Details for the file py_auth_micro-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: py_auth_micro-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for py_auth_micro-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7b18c130b0a9d371948ae68dff2a3c3dfc1d395b7aa5103823948165c565210f
MD5 60b9a48b55dd5662ef2b2ffc756209f6
BLAKE2b-256 c865c862d692d5eeec3490104eecd3ea8c38a80ea19f48c93b5d144e34d29b6d

See more details on using hashes here.

Supported by

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