To obtain a Realm and Domain, please follow the steps below.
A] Realm:
- Login to the keycloak administration console.
- Go to the Realm settings -> general section, you will get the Realm name.
B] Domain:
- The domain name would be the domain of the machine where your keycloak is running followed by the port number, for e.g if your keycloak is running on localhost then the domain would be http://localhost:8080.(refer to the below image)