<?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: Fetching NONCE Token in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931904#M78478</link>
    <description>&lt;P&gt;I think I figured it out. I supply a -u to the curl, then my username and then it'll prompt me for my password and then it will then give me the NONCE token. What is the NONCE token for? It seems when I try to supply it, it tells me authentication failed anyways. Is there a way I can authenticate my terminal sessions so I don't have to supply the username and password everytime?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 16:34:19 GMT</pubDate>
    <dc:creator>VH_10947268</dc:creator>
    <dc:date>2024-02-22T16:34:19Z</dc:date>
    <item>
      <title>Fetching NONCE Token</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931681#M78446</link>
      <description>&lt;P&gt;I am trying to fetch a NONCE Token so I can run HTTP requests in my command line to use the API. I am following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VH_10947268_0-1708536860361.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/98635iEB351772B95C727A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VH_10947268_0-1708536860361.png" alt="VH_10947268_0-1708536860361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but it still says that my authorization has failed when I do a curl command with a GET request. Windchill 12.1.2.0, and REST 2.5&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:42:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931681#M78446</guid>
      <dc:creator>VH_10947268</dc:creator>
      <dc:date>2024-02-21T17:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching NONCE Token</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931790#M78457</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/795791"&gt;@VH_10947268&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What authentication do you use? and how do you push the user and password in the request?&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 09:54:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931790#M78457</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-02-22T09:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching NONCE Token</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931904#M78478</link>
      <description>&lt;P&gt;I think I figured it out. I supply a -u to the curl, then my username and then it'll prompt me for my password and then it will then give me the NONCE token. What is the NONCE token for? It seems when I try to supply it, it tells me authentication failed anyways. Is there a way I can authenticate my terminal sessions so I don't have to supply the username and password everytime?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 16:34:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931904#M78478</guid>
      <dc:creator>VH_10947268</dc:creator>
      <dc:date>2024-02-22T16:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching NONCE Token</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931928#M78482</link>
      <description>&lt;P&gt;My understanding is that the NONCE token is used as an extra layer of security along with the normal form of authentication when using HTTP methods that change or delete data. It does not act as a replacement for your standard authentication method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming you are using Basic authorization, you can base64 encode the value &amp;lt;username:password&amp;gt; and use that in the header of your requests.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 18:00:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Fetching-NONCE-Token/m-p/931928#M78482</guid>
      <dc:creator>VanVelZ</dc:creator>
      <dc:date>2024-02-22T18:00:55Z</dc:date>
    </item>
  </channel>
</rss>

