mirror of
https://github.com/paralus/paralus.git
synced 2026-08-23 13:26:15 +00:00
Auth constructor should handle creation of Kratos, database, ApiKeyService itself for benefit to other dependent modules/repos. The Prompt module does not need db instance hence it should not pass db parameter when initializing Auth context and middleware. Signed-off-by: Akshay Gaikwad <akshay.gaikwad@rafay.co>