mirror of
https://github.com/paralus/paralus.git
synced 2026-05-07 00:46:52 +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>