<?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 Ruckus Cloud API - Authentication Using JWT in RUCKUS Self-Help</title>
    <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/Ruckus-Cloud-API-Authentication-Using-JWT/m-p/57867#M136</link>
    <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Ruckus Cloud has now started to use JSON Web Tokens (JWT) to secure all endpoints. Previously Ruckus Cloud used a cookie with an API key for authentication in evey API call.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;•POST /token is used to obtain a jwt.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;•The response includes the tenantId and the token. The API-KEY field will always be null.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;•The token expires after 60 minutes&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganesh_balarama_0-1682945338799.png" style="width: 551px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/6127i2DB7A6D13DA8243A/image-dimensions/551x324/is-moderation-mode/true?v=v2" width="551" height="324" role="button" title="ganesh_balarama_0-1682945338799.png" alt="ganesh_balarama_0-1682945338799.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;When using Postman, subsequent API calls must use the Bearer Token authorization, using the jwt obtained previously.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;In the below example, the jwt is saved in the {{JWT}} variable.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganesh_balarama_1-1682945841740.png" style="width: 569px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/6128iF77221AEDEC3F959/image-dimensions/569x300/is-moderation-mode/true?v=v2" width="569" height="300" role="button" title="ganesh_balarama_1-1682945841740.png" alt="ganesh_balarama_1-1682945841740.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;In Order to save the JWT as token, Create a new Environment and update the JWT token in initial value and current value.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganesh_balarama_2-1682945958191.png" style="width: 559px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/6129i1305BE4FBCB30D40/image-dimensions/559x77/is-moderation-mode/true?v=v2" width="559" height="77" role="button" title="ganesh_balarama_2-1682945958191.png" alt="ganesh_balarama_2-1682945958191.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2023 13:38:15 GMT</pubDate>
    <dc:creator>ganesh_balarama</dc:creator>
    <dc:date>2023-05-01T13:38:15Z</dc:date>
    <item>
      <title>Ruckus Cloud API - Authentication Using JWT</title>
      <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/Ruckus-Cloud-API-Authentication-Using-JWT/m-p/57867#M136</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Ruckus Cloud has now started to use JSON Web Tokens (JWT) to secure all endpoints. Previously Ruckus Cloud used a cookie with an API key for authentication in evey API call.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;•POST /token is used to obtain a jwt.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;•The response includes the tenantId and the token. The API-KEY field will always be null.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;•The token expires after 60 minutes&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganesh_balarama_0-1682945338799.png" style="width: 551px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/6127i2DB7A6D13DA8243A/image-dimensions/551x324/is-moderation-mode/true?v=v2" width="551" height="324" role="button" title="ganesh_balarama_0-1682945338799.png" alt="ganesh_balarama_0-1682945338799.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;When using Postman, subsequent API calls must use the Bearer Token authorization, using the jwt obtained previously.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;In the below example, the jwt is saved in the {{JWT}} variable.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganesh_balarama_1-1682945841740.png" style="width: 569px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/6128iF77221AEDEC3F959/image-dimensions/569x300/is-moderation-mode/true?v=v2" width="569" height="300" role="button" title="ganesh_balarama_1-1682945841740.png" alt="ganesh_balarama_1-1682945841740.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;In Order to save the JWT as token, Create a new Environment and update the JWT token in initial value and current value.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganesh_balarama_2-1682945958191.png" style="width: 559px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/6129i1305BE4FBCB30D40/image-dimensions/559x77/is-moderation-mode/true?v=v2" width="559" height="77" role="button" title="ganesh_balarama_2-1682945958191.png" alt="ganesh_balarama_2-1682945958191.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 13:38:15 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/Ruckus-Cloud-API-Authentication-Using-JWT/m-p/57867#M136</guid>
      <dc:creator>ganesh_balarama</dc:creator>
      <dc:date>2023-05-01T13:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ruckus Cloud API - Authentication Using JWT</title>
      <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/Ruckus-Cloud-API-Authentication-Using-JWT/m-p/58481#M145</link>
      <description>&lt;P&gt;Thankyou for posting this update.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 06:37:13 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/Ruckus-Cloud-API-Authentication-Using-JWT/m-p/58481#M145</guid>
      <dc:creator>archana_bollu</dc:creator>
      <dc:date>2023-05-09T06:37:13Z</dc:date>
    </item>
  </channel>
</rss>

