<?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: Custom OAuth2 Client JWT Token is invalid in Workforce Identity Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/custom-oauth2-client-jwt-token-is-invalid/m-p/1295730#M14</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The error CAJWT001E occurs because tokens generated via a &lt;B&gt;Custom OAuth2 Client&lt;/B&gt; are only intended for &lt;B&gt;CyberArk Identity APIs&lt;/B&gt;. If you are calling other platform services (like Privilege Cloud), the token will be rejected because it lacks the required platform-level claims.&lt;/P&gt;&lt;P&gt;Since you confirmed that the &lt;B&gt;platformtoken &lt;/B&gt;endpoint works, you should use that for your integration as it is the standard for ISPSS workloads.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding this two docs for better understanding: &lt;/P&gt;&lt;P&gt;https://docs.cyberark.com/identity/latest/en/content/coreservices/authenticate/oauth2-client.htm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://api-docs.cyberark.com/create-api-token/docs/create-api-token&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2026 15:32:27 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-03-06T15:32:27Z</dc:date>
    <item>
      <title>Custom OAuth2 Client JWT Token is invalid</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/custom-oauth2-client-jwt-token-is-invalid/m-p/1295729#M13</link>
      <description>&lt;P&gt;I created an OAuth2 client application by following the guidance in the article below:&lt;/P&gt;&lt;P&gt;https://community.cyberark.com/s/article/Securing-OAuth2-API-Workloads-on-CyberArk-ISPSS?t=1772659821139&lt;/P&gt;&lt;P&gt;However, when I use the generated bearer token, the request fails with a “JWT Token invalid” error. &lt;/P&gt;&lt;CODE&gt;{
    "ErrorCode": "CAJWT001E",
    "ErrorMessage": "Invalid JWT token."
}&lt;/CODE&gt;&lt;P&gt;I have tested this using Postman, cURL, and PowerShell, and the same error occurs in all cases.&lt;/P&gt;&lt;P&gt;Could you please advise on what might be causing this issue or what additional configuration I should verify.&lt;/P&gt;&lt;P&gt;If use tokenplatform it endpoint API works fine.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 21:50:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/custom-oauth2-client-jwt-token-is-invalid/m-p/1295729#M13</guid>
      <dc:creator>ba31</dc:creator>
      <dc:date>2026-03-04T21:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom OAuth2 Client JWT Token is invalid</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/custom-oauth2-client-jwt-token-is-invalid/m-p/1295730#M14</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The error CAJWT001E occurs because tokens generated via a &lt;B&gt;Custom OAuth2 Client&lt;/B&gt; are only intended for &lt;B&gt;CyberArk Identity APIs&lt;/B&gt;. If you are calling other platform services (like Privilege Cloud), the token will be rejected because it lacks the required platform-level claims.&lt;/P&gt;&lt;P&gt;Since you confirmed that the &lt;B&gt;platformtoken &lt;/B&gt;endpoint works, you should use that for your integration as it is the standard for ISPSS workloads.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding this two docs for better understanding: &lt;/P&gt;&lt;P&gt;https://docs.cyberark.com/identity/latest/en/content/coreservices/authenticate/oauth2-client.htm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://api-docs.cyberark.com/create-api-token/docs/create-api-token&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 15:32:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/custom-oauth2-client-jwt-token-is-invalid/m-p/1295730#M14</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-03-06T15:32:27Z</dc:date>
    </item>
  </channel>
</rss>

