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.3.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.3-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_auth_micro-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cde10c4172f017fa0c418057ba1090846baaeee63738903d8102b31e81c6d18c
MD5 5724f0209889fd86d0b11531e1689a22
BLAKE2b-256 e5ea365d974267a06fcfc2676f36aff7f282b3a40c7d08a1d2f797a6c22aa6ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_auth_micro-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 25.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df6ec3f592e7de2718a0bbc41506dc8d0e0bff32710a2a7764d869e4926eed70
MD5 615552bb2380e1189b530ffa9e3eb359
BLAKE2b-256 e383886765084305252d45cf0ba780a111d435cc0b70ae14aaa24700d26858d7

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