Skip to content

[BUG]: authverifier for keycloak not implemented #175

@Eliesmbr

Description

@Eliesmbr

Description of the bug

I am trying to connect my Keep instance to my external Keycloak as an authentication method using the Helm chart and am getting the following error in the backend:

Traceback (most recent call last):
  File "/venv/lib/python3.13/site-packages/gunicorn/app/base.py", line 110, in get_config_from_filename
    spec.loader.exec_module(mod)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/venv/lib/python3.13/site-packages/keep/api/config.py", line 8, in <module>
    from keep.api.api import AUTH_TYPE
  File "/venv/lib/python3.13/site-packages/keep/api/api.py", line 33, in <module>
    from keep.api.routes import (
    ...<24 lines>...
    )
  File "/venv/lib/python3.13/site-packages/keep/api/routes/actions.py", line 19, in <module>
    IdentityManagerFactory.get_auth_verifier(["read:actions"])
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/venv/lib/python3.13/site-packages/keep/identitymanager/identitymanagerfactory.py", line 82, in get_auth_verifier
    return IdentityManagerFactory._load_manager(auth_type, "authverifier", scopes)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib/python3.13/site-packages/keep/identitymanager/identitymanagerfactory.py", line 120, in _load_manager
    raise NotImplementedError(
        f"{manager_class} for {manager_type} not implemented"
    )
NotImplementedError: authverifier for keycloak not implemented

Steps To Reproduce

  1. Configure env varbiable AUTH_TYPE="KEYCLOAK"
  2. Restart backend deployment
  3. Getting the above mentioned stacktrace

Additional Information

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions