title: Keycloak 403 (Forbidden) on Keycloak.loadUserProfile()
body: <p>I am new to Keycloak. I have tried to get the user information using below code:</p>
  
  <pre><code>keycloakAuth.loadUserProfile().success(function(profile) {
    debugger
          console.log(profile);
      }).error(function(res) {
        debugger
          console.log('Failed to load profile');
      });
  </code></pre>
  
  <p>installation json is :</p>
  
  <pre><code>{
    "realm": "CheckRealm",
    "realm-public-key": "MIIBIjASDFJJK677132HJJAOCAQ8AMIIBCgKCAQEAgo4deAfr8BeqWOiCsddwMtH5nh8EK2cKIeInpt7LnoCyMsGj1HTP835HpslOURrR6Bgc42V7r6J/MIHqx3+KESTqpcQSe9ll6eUjzaMbIX2GPmy9OnviH6srUgOlDAKhL+/SDh/iv8RfErAPO9cxnoBWUUTyfyes1YRn34KILBdHZoaWk5mteJx9aV4bfA5tGTT6aF8o1NkCX1OUfXiaAD5sqKZV5vbI+QsOUsNshvGfE5JR2EpwZbWH/vRQVusxLURjC51v96ieQ8zUME5LwAQ0TgZcspHTb4Y+KuYRTuDQKuxRUYFeNbvqUGeT2s2sHMmWOQIDAQAB",
    "auth-server-url": "https://something.com/auth",
    "url": "https://something.com/auth",
    "ssl-required": "external",
    "resource": "sample-tracker",
    "clientId": "sample-tracker",
    "credentials": {
      "secret": "bnmbsdk87wq"
    }
  }
  </code></pre>
  
  <p>I got the mentioned error :Failed to load resource: the server responded with a status of 403 (Forbidden)</p>