Open thetrotfreak opened 2 months ago
Hi @thetrotfreak,
Thank you for reporting the issue.
It looks like there’s a problem with how database connections are managed in the authentication flow. I’ll address this by implementing a context manager to ensure connections are properly closed and improving error handling.
I’ll update the repository with a fix soon. Meanwhile, you can manually manage connections as a temporary workaround. If you have any additional details, please share them.
Best regards, Visesh
https://github.com/viseshagarwal/auth-plugin/blob/6acbfa0d855cd8fd5f8e66cfb0b6fd233de2d2da/auth_plugin/db_manager.py#L77
with
block's scope is exited