{"repo":"claroty/jwthenticator","free":true,"listed":false,"github":"https://github.com/claroty/jwthenticator","clone":"git clone https://github.com/claroty/jwthenticator.git","description":"A cloud first service for key to JWT authentication library and server written in Python 3","language":"Python","stars":20,"topics":["python3","api-gateway","jwt","microservice"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"JWThenticator A cloud first service for key to JWT authentication library and server written in Python 3. Intro JWThenticator was written for client authentication in micro-services architectures with usage of API gateways in mind.\\ Although there are multiple open-source projects for authenticating users in exchange for JWT (json web token), we couldn't find any project that fit our need for a key based authentication for our clients. This is beneficial for any client authentication and more specifically for IoT.\\ The service is stateless, Docker first service for cloud authentication, but can generally be used for any key to JWT authentication and in multiple different architectures (see example below). How To Use Pip To run as a server you can run: python3 -m jwthenticator.server .\\ Make sure to configure the proper database to be used via the environment variables exposed in jwthenticator/consts.py file.\\ By default PostgreSQL is used and a basic local config setup is: Note - if RSA keys are not provided (via the environment variables RSA PUBLIC KEY + RSA PRIVATE KEY or RSA PUBLIC KEY PATH + RSA PRIVATE KEY PATH ), a new RSA pair will be generated every time the systems goes up. Docker A database is needed to be linked or configured to the image.\\ See examples/docker-compose.yml for a full example, run it using: From Source The project uses poetry for dependency management and packaging.\\ To run from source clone project and: Documentation - API documentation - openapi.ya","default_branch":null,"files":null,"tree":[],"storefront":"/r/claroty","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/claroty/jwthenticator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}