<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Gaia API Session Authentication in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Gaia-API-Session-Authentication/m-p/125071#M6081</link>
    <description>&lt;P&gt;The account needed to be&amp;nbsp;explicitly granted permission to use the API; it needs to be&amp;nbsp;granted access to&amp;nbsp;access-mechanism API.&lt;/P&gt;&lt;P&gt;Run show rba user &amp;lt;user&amp;gt; to check current assignments.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run&amp;nbsp;gaia_api access --user &amp;lt;user&amp;gt; --enable true&lt;/P&gt;&lt;P&gt;Run show rba user &amp;lt;user&amp;gt; to recheck current assignments and confirm&amp;nbsp;access-mechanism API has been added.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 03:06:11 GMT</pubDate>
    <dc:creator>Simon_Macpherso</dc:creator>
    <dc:date>2021-07-28T03:06:11Z</dc:date>
    <item>
      <title>Gaia API Session Authentication</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Gaia-API-Session-Authentication/m-p/125062#M6080</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've deployed Gaia API version 1.5 to some gateways but unable to authenticate via web (Postman) and mgmt_cli.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The admin account exists on Gaia OS and the password is correct.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mgmt_cli login --version 1.5 --context gaia_api --port 981&lt;BR /&gt;Username: admin&lt;BR /&gt;Password:&lt;BR /&gt;code: "err_login_failed_wrong_username_or_password"&lt;BR /&gt;errors: "Login authentication failed"&lt;BR /&gt;message: "Login Failed Due to Wrong Username or Password"&lt;/P&gt;&lt;P&gt;If I try to use root the following is returned&lt;/P&gt;&lt;P&gt;mgmt_cli login --port 981 --context gaia_api -r true&lt;BR /&gt;Error: Failed to login to the management server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API Status:&lt;BR /&gt;---------------------&lt;BR /&gt;Build: cp991255022&lt;BR /&gt;Uptime: 0:41:08&lt;BR /&gt;Current Sessions: 0&lt;BR /&gt;Latest Version: 1.5&lt;/P&gt;&lt;P&gt;Processes:&lt;/P&gt;&lt;P&gt;Name State PID&lt;BR /&gt;---------------------------------&lt;BR /&gt;GAIA_API Started 20628&lt;BR /&gt;GAIA_API_DOCS Started 20626&lt;BR /&gt;APACHE Started 20716&lt;BR /&gt;CONFD Started 20067&lt;BR /&gt;CLISHD Started 20400&lt;BR /&gt;CELERY Started 20625&lt;BR /&gt;REDIS Started 20627&lt;/P&gt;&lt;P&gt;Port Details:&lt;BR /&gt;-------------------&lt;BR /&gt;APACHE Gaia Port: 981&lt;/P&gt;&lt;P&gt;--------------------------------------------&lt;BR /&gt;Overall API Status: Started&lt;BR /&gt;--------------------------------------------&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 01:23:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Gaia-API-Session-Authentication/m-p/125062#M6080</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-07-28T01:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia API Session Authentication</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Gaia-API-Session-Authentication/m-p/125071#M6081</link>
      <description>&lt;P&gt;The account needed to be&amp;nbsp;explicitly granted permission to use the API; it needs to be&amp;nbsp;granted access to&amp;nbsp;access-mechanism API.&lt;/P&gt;&lt;P&gt;Run show rba user &amp;lt;user&amp;gt; to check current assignments.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run&amp;nbsp;gaia_api access --user &amp;lt;user&amp;gt; --enable true&lt;/P&gt;&lt;P&gt;Run show rba user &amp;lt;user&amp;gt; to recheck current assignments and confirm&amp;nbsp;access-mechanism API has been added.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 03:06:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Gaia-API-Session-Authentication/m-p/125071#M6081</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-07-28T03:06:11Z</dc:date>
    </item>
  </channel>
</rss>

