title: Keycloak - Uma Configuration
body: <p>when a try use  keycloak java api im getting this error:</p>
  
  <pre><code>Exception in thread "main" java.lang.RuntimeException: Could not obtain configuration from server [http://localhost:8010/auth//realms/BLKRealm/.well-known/uma-configuration].
  at org.keycloak.authorization.client.AuthzClient.&lt;init&gt;(AuthzClient.java:82)
  at org.keycloak.authorization.client.AuthzClient.create(AuthzClient.java:56)
  at org.keycloak.authorization.client.AuthzClient.create(AuthzClient.java:49)
  at KeyCloackApiCaller.Caller.App.someLibraryMethod(App.java:14)
  at KeyCloackApiCaller.Caller.App.main(App.java:26)
  Caused by: org.keycloak.authorization.client.util.HttpResponseException: Unexpected response from server: 404 / Not Found
  at org.keycloak.authorization.client.util.HttpMethod.execute(HttpMethod.java:92)
  at org.keycloak.authorization.client.util.HttpMethodResponse$2.execute(HttpMethodResponse.java:48)
  at org.keycloak.authorization.client.AuthzClient.&lt;init&gt;(AuthzClient.java:80)
  ... 4 more
  </code></pre>
  
  <p>This is the code that has generated the error:</p>
  
  <pre><code>import org.keycloak.authorization.client.AuthzClient;
  import org.keycloak.representations.AccessTokenResponse;
  
  public class App 
  {
     public static boolean someLibraryMethod() {
  
     AuthzClient authzClient = AuthzClient.create();
  
     // send the authorization request to the server in order to
     // obtain an access token granted to the user
     AccessTokenResponse response = authzClient.obtainAccessToken("*****", "*****");
  
     return true;
   }  
   public static void main(String[] args)
   {
     someLibraryMethod();
   }
  }
  </code></pre>
  
  <p>I understand this error, but I don't understand why i received this error, realm has UMA enabled, my client is properply configurated. Anyone can help me?</p>