Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-4454

Keycloak admin user

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Medium Medium
    • None
    • None
    • None
    • False
    • None
    • False

      There is the possibility to define admin user/password with environment variables for Keycloak 20.0.3.

      During the very first initial startup, Keycloak will create this admin user successfully.

      During the future startup's of Keycloak, I get the following error message:

      ERROR [org.keycloak.services] (main) KC-SERVICES0010: Failed to add user 'admin' to realm 'master': user with username exists

      I get this error message, because this admin user were already created during the very first initial startup.

      Is it really necessary to define this behaviour as a "ERROR", is it not enough to define it as a "WARN"?

              Unassigned Unassigned
              schmuckimarco89@gmail.com Marco Schmucki (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: