Overview
Implement a security package that provides:
-
Authentication Microservice
- Allow users to define their own token generation logic.
- Generate and store JWTs against random tokens in Redis.
- Internal GRPC communication for refreshing JWTs.
-
Security Configurator Package
- Provide a security layer and a User Details Schema.
- Allow microservices to retrieve user details from stored JWTs without exposing security logic.
- Enable GRPC communication with the authentication service to refresh tokens.
- Offer a wrapper around the httpx package to ensure secure inter-microservice communication.
Requirements
- Modular and extensible design for both authentication and security configuration.
- Simple integration guide for both use cases.
- Example implementations for both GRPC communication and httpx wrapper usage.
This feature will improve authentication and communication security across microservices by centralizing token management and providing a unified security layer.
Overview
Implement a security package that provides:
Authentication Microservice
Security Configurator Package
Requirements
This feature will improve authentication and communication security across microservices by centralizing token management and providing a unified security layer.