<?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: How to send token for external API Service usage from JSP in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1058094#M11177</link>
    <description>&lt;P&gt;I did some searches and coun't find much info , you can raise an SSO case ,my colleagues will be glad to assist you furher&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2026 08:19:05 GMT</pubDate>
    <dc:creator>Fadel</dc:creator>
    <dc:date>2026-03-11T08:19:05Z</dc:date>
    <item>
      <title>How to send token for external API Service usage from JSP</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1051851#M10960</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm currently implementing an LLM chat box for Windchill 13.0 and need a secure solution to send a key to an outside service, which will be saved in the session and used to query the Windchill API to gather data. Security context is important, so I need to send a key for the current user. For example, I'm currently sending the wcadmin bearer token for testing purposes.&lt;BR /&gt;The code for the chat box is in a JSP file, so I need to be able to fetch the key from that context.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 21:48:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1051851#M10960</guid>
      <dc:creator>PGLeduc</dc:creator>
      <dc:date>2026-01-21T21:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to send token for external API Service usage from JSP</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1051915#M10962</link>
      <description>&lt;P&gt;use the &lt;A href="https://support.ptc.com/help/wnc/r12.0.2.0/en/index.html#page/Windchill_Help_Center%2FWindchillCustomizationUsingWRS.html%23" target="_blank" rel="noopener"&gt;wrscaller&lt;/A&gt; to run WRS and then use&amp;nbsp;&lt;/P&gt;
&lt;PRE class="microlight"&gt;&amp;lt;Server&amp;gt;/Windchill/servlet/odata/v5/PTC/GetCSRFToken()&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 09:48:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1051915#M10962</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2026-01-22T09:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to send token for external API Service usage from JSP</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1054742#M11078</link>
      <description>&lt;P&gt;Hello Fadel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply! My situation has changed a bit since this post, so let me recapitulate:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I don't need a CSRFToken, as I only do GET queries, to get documents, parts, usage, etc...&lt;BR /&gt;&lt;BR /&gt;Secondly, I need a way to have a 3rd party service (in this case a Pinecone LLM chat app) to query the Windchill API with the good security context. For this reason, I've implemented SSO (with Shibboleth) and need to be able to send a query to the API with the same authentication as the SSO session. During my latest tests, whenever I use "Authorization: Bearer &amp;lt;entra token&amp;gt;" in my HTTP headers, the API returns the HTML landing page for Shibboleth, which normally redirects to Entra. Is there a way to configure Windchill/Apache to check for the token and return the correct JSON instead of HTML?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 15:04:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1054742#M11078</guid>
      <dc:creator>PGLeduc</dc:creator>
      <dc:date>2026-02-12T15:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to send token for external API Service usage from JSP</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1058094#M11177</link>
      <description>&lt;P&gt;I did some searches and coun't find much info , you can raise an SSO case ,my colleagues will be glad to assist you furher&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 08:19:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-send-token-for-external-API-Service-usage-from-JSP/m-p/1058094#M11177</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2026-03-11T08:19:05Z</dc:date>
    </item>
  </channel>
</rss>

