Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-16749

[REL] Error when creating admin user when starting Keycloak.x for the first time

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      Start the server for the very first time and try to create admin user.

      Show
      Start the server for the very first time and try to create admin user.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Before running the server, set these two env vars:

      export KEYCLOAK_ADMIN=admin && export KEYCLOAK_ADMIN_PASSWORD=admin
      
      Show
      Before running the server, set these two env vars: export KEYCLOAK_ADMIN=admin && export KEYCLOAK_ADMIN_PASSWORD=admin
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When starting Keycloak.X for the very first time, you can't create the admin user due to errors related to invalid media type.

      Probably related to resteasy multipart provider and change to dependencies.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pcraveiro Pedro Igor Silva
              Reporter:
              pcraveiro Pedro Igor Silva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: