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

It's possible to create Realm with empty name but impossible to delete it

    Details

    • Steps to Reproduce:
      Hide

      send POST request to /auth/admin/realms with { "realm":"", "id":"", "enabled":"true"{color:#172b4d}}

      Show
      send POST request to /auth/admin/realms with { "realm":" ", "id":" ", "enabled":"true" {color:#172b4d}}
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      by POST request I created realm with empty name:

      POST on /auth/admin/realms

      { "realm":"", "id":"", "enabled":"true"{color:#172b4d}}

      That's valid request. But now I cannot delete it because

      DELETE request on /auth/admin/realms/ + ""(empty realm name) is invalid.

       

      Maybe there is any other way how I can delete this Realm?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                viktorff Viktor Fefilov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: