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.
You can find the documentation here
Alternatively you can build it yourself by running make doc
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
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.