Hi,

as already said - please use docs and not AI generated configs and as your config snippets do not match the errror message it is impossible to help.

best regards

Oliver

On 12/3/25 10:07, Thomas Gebert wrote:
Hello,

I get the following error while starting the server:

Dec 03 08:56:25 test-keycloak02.testing.edubw.link openxpkictl[278617]: Exception during server initialization: No type given for authentication handler BasicAuth (No type given for authentication handler BasicAuth) at /usr/share/perl5/OpenXPKI/Server.pm line 801, <DATA> line 1.

But there are types given for the stack and the handler:

stack.yaml:
_System:
  handler: System

default:
  handler: BasicAuth

BasicAuth:
  handler: ExternalAuth
  type: NoAuth
  label: "Keycloak SSO"
  param:
    envkeys:
      username: REMOTE_USER
      email: OIDC_CLAIM_email
      role: OPENXPKI_SSO_ROLE

handler.yaml:

# Those stacks are usually required so you should not remove them
Anonymous:
    type: Anonymous
    label: Anonymous

System:
    type: Anonymous
    role: System

# Read the userdata from a YAML file defined in auth/connector.yaml
LocalPassword:
    type: Password
    user@: connector:auth.connector.userdb

ExternalAuth:
  label: Keycloak SSO (NoAuth)
  class: OpenXPKI::Server::Authentication::NoAuth
  type: NoAuth


So I don't understand the error in the log.

What is wrong here?

Kind regards,

Thomas

--
Protect your environment -  close windows and adopt a penguin!



_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to