<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Idel,<br>
      <br>
      Thanks for your answer.<br>
      <br>
      Now I have another problem, when I access the URL "<span
        class="httpMethod GET" set-class="interface.http"
        set-text="interface.http"></span><span class="methodBaseUrl
        ng-binding" ng-show="editingBaseUrl == false"
        ng-click="editingBaseUrl = true">https://SERVER:PORT/CONTEXT/rest</span><span
        class="methodUrl" set-html="interface.url | formatUrlParams"><span
          class="ng-scope">/applications/</span><span class="paramName
          ng-scope">[variantID]</span><span class="ng-scope">/installations/"
          I receive a 401 HTTP status saying: "JBWEB000121: This request
          requires HTTP authentication."<br>
          <br>
          I searched a bit and it seems that I need a Keycloak token</span></span>.
      I did not even know about Keycloak and to use its administration
      console I need an admin user but I do not know the password and my
      collegue that installed Aerogear doesn't know it either.<br>
      <br>
      I have root access to the server and the MySQL DB. How do I reset
      the Keycloack admin password?<br>
      <br>
      <br>
      Em 29/08/2016 19:33, Idel Pivnitskiy escreveu:<br>
    </div>
    <blockquote
cite="mid:CAN+BUJoe2_TAVWA1W00DpF_U_-izpst79EVmt3C0wKqeTd52oA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">When you register a device on the UPS [1] it
        returns you a JSON object of Installation with a new id. You can
        use this id to retrieve an Installation object at any time [2],
        which contains an array of categories for current device token.
        We can not guarantee, that device token will be unique in UPS
        database, that's why you have to use Installation.id for feature
        purposes if needed.
        <div><br>
        </div>
        <div>[1] <a moz-do-not-send="true"
href="https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#246535932">https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#246535932</a></div>
        <div>[2] <a moz-do-not-send="true"
href="https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-1343907292">https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-1343907292</a><br>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Geraldo Amaral


</pre>
  </body>
</html>