<?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 IoT API Tokens in IoT Networking</title>
    <link>https://community.ruckuswireless.com/t5/IoT-Networking/Ruckus-IoT-API-Tokens/m-p/109131#M261</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to clarify the token usage for the REST API. I am using controller version 2.2.1&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;U&gt;/v1/oauth/login&lt;/U&gt; endpoint returns a &lt;FONT color="#339966"&gt;access_token &lt;/FONT&gt;and a &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt;. The doc's say that the validity of the &lt;FONT color="#339966"&gt;access_token&amp;nbsp;&lt;/FONT&gt;is 1 week, and that the &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt; should be used to generate a new &lt;FONT color="#339966"&gt;access_token&lt;/FONT&gt; upon it's expiry.&lt;/P&gt;&lt;P&gt;The&lt;U&gt;&amp;nbsp;/v1/oauth/refresh&lt;/U&gt; endpoint is said to return a &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt;, though it looks like it returns an&amp;nbsp;&lt;FONT color="#008000"&gt;access_token&lt;/FONT&gt;. Valid for 60 days.&lt;/P&gt;&lt;P&gt;If the refresh endpoint does indeed return a &lt;FONT color="#008000"&gt;access_token&lt;/FONT&gt;, then that would follow the logic presented in the login documentation. But then, what about the &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt;? After the 60 days, should you use Basic Auth again to retrieve tokens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Sep 2025 23:00:20 GMT</pubDate>
    <dc:creator>KSB</dc:creator>
    <dc:date>2025-09-01T23:00:20Z</dc:date>
    <item>
      <title>Ruckus IoT API Tokens</title>
      <link>https://community.ruckuswireless.com/t5/IoT-Networking/Ruckus-IoT-API-Tokens/m-p/109131#M261</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to clarify the token usage for the REST API. I am using controller version 2.2.1&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;U&gt;/v1/oauth/login&lt;/U&gt; endpoint returns a &lt;FONT color="#339966"&gt;access_token &lt;/FONT&gt;and a &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt;. The doc's say that the validity of the &lt;FONT color="#339966"&gt;access_token&amp;nbsp;&lt;/FONT&gt;is 1 week, and that the &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt; should be used to generate a new &lt;FONT color="#339966"&gt;access_token&lt;/FONT&gt; upon it's expiry.&lt;/P&gt;&lt;P&gt;The&lt;U&gt;&amp;nbsp;/v1/oauth/refresh&lt;/U&gt; endpoint is said to return a &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt;, though it looks like it returns an&amp;nbsp;&lt;FONT color="#008000"&gt;access_token&lt;/FONT&gt;. Valid for 60 days.&lt;/P&gt;&lt;P&gt;If the refresh endpoint does indeed return a &lt;FONT color="#008000"&gt;access_token&lt;/FONT&gt;, then that would follow the logic presented in the login documentation. But then, what about the &lt;FONT color="#0000FF"&gt;refresh_token&lt;/FONT&gt;? After the 60 days, should you use Basic Auth again to retrieve tokens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 23:00:20 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/IoT-Networking/Ruckus-IoT-API-Tokens/m-p/109131#M261</guid>
      <dc:creator>KSB</dc:creator>
      <dc:date>2025-09-01T23:00:20Z</dc:date>
    </item>
  </channel>
</rss>

