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.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

py_auth_micro-0.2.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_auth_micro-0.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for py_auth_micro-0.2.0.tar.gz
Algorithm Hash digest
SHA256 97de6a3cd759642210211501f7af1b69b488ccb58141814a786f3cfca0018727
MD5 98a4b84be88c762e78a3fd5a7a092d89
BLAKE2b-256 3aecc1c81b2c3a6e7ccc324ae3e518fe8056207d96887e28c2d8d0f998b2e059

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for py_auth_micro-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee807d82ab736ad8c4767faf392d80f00805062cf8d3c1ad7bcf74f01c5cc036
MD5 a4c7512d035a0a6be6cd2196131c1040
BLAKE2b-256 73e5eab444bea946c8d73d5850b8af47017087b2dcfe83a24858538087f211f7

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