<?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: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider. in Secrets Management</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407166#M1940</link>
    <description>&lt;P&gt;Hi @Tanishq Pandey​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since several community members answered your question, please let us know if these solutions addressed your query.&lt;/P&gt;&lt;P&gt;If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Liad.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 15:52:13 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-12-05T15:52:13Z</dc:date>
    <item>
      <title>We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407163#M1937</link>
      <description>&lt;P&gt;We've set up a JWT authenticator with Azure's JWKS-uri in its configuration (https://login.microsoftonline.com/{tenant_ID}/discovery/v2.0/keys). We have an enterprise application on Azure and we're generating a JWT token through client credentials. We've set it up such that a host xyz has the permissions to authenticate to this JWT authenticator. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when we try to reach the authenticate endpoint of Conjur for JWT authenticators, we're receiving the following error: conjur:user:xyz failed to authenticate with authenticator authn-jwt service conjur:webservice:conjur/authn-jwt/{Our_serviceID}: CONJ00035E Failed to decode token (3rdPartyError ='#&amp;lt;JWT::VerificationError: Signature verification failed&amp;gt;')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could we be doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 17:46:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407163#M1937</guid>
      <dc:creator>Tanishq</dc:creator>
      <dc:date>2024-11-27T17:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407164#M1938</link>
      <description>&lt;P&gt;Hi @Tanishq Pandey​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m assuming you would have validated JWKS URI configured in Conjur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please validate that the JWT token generated by Azure. You can use &lt;A alt="https://jwt.io/" href="https://jwt.io/" target="_blank"&gt;https://jwt.io/&lt;/A&gt; to validate and decode the JWT token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the error suggest, it’s a signature verification is failing, please check that Azure is signing the token with an algorithm supported by Conjur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, please validate Client ID, Secret, Scope and Permissions in Azure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also check,the xyz host in Conjur has the correct permissions to authenticate using the JWT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope the above steps helps !&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 21:49:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407164#M1938</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-11-27T21:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407165#M1939</link>
      <description>&lt;P&gt;Hi @Tanishq Pandey​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please do check these points&lt;/P&gt;&lt;P&gt;Verify that you're using the correct token endpoint (v1.0 or v2.0).&lt;/P&gt;&lt;P&gt;Ensure the aud claim matches the App ID URI defined in Azure and Conjur.&lt;/P&gt;&lt;P&gt;Decode the token and check the kid field against the JWKS.&lt;/P&gt;&lt;P&gt;Confirm that Azure is signing the token with RS256.&lt;/P&gt;&lt;P&gt;Double-check permissions, scopes, and Conjur host configurations.&lt;/P&gt;&lt;P&gt;Synchronize system clocks between Azure and Conjur servers.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 01:25:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407165#M1939</guid>
      <dc:creator>pkgajula</dc:creator>
      <dc:date>2024-11-29T01:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407166#M1940</link>
      <description>&lt;P&gt;Hi @Tanishq Pandey​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since several community members answered your question, please let us know if these solutions addressed your query.&lt;/P&gt;&lt;P&gt;If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Liad.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 15:52:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407166#M1940</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-12-05T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407167#M1941</link>
      <description>&lt;P&gt;Thanks Malhar! We have validated these items, but to no avail. We're still receiving the same error. I've confirmed the kid value matches an entry on the JWKS URI page and has an associated public key. The token is in RS256 as expected by Conjur. However, Conjur doesn't seem to like it.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 23:22:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407167#M1941</guid>
      <dc:creator>Tanishq</dc:creator>
      <dc:date>2024-12-06T23:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407168#M1942</link>
      <description>&lt;P&gt;Thanks for the response, pkgajula! Could you elaborate on the 2nd point? When you say that the aud claim on the JWT token should match the App ID URI, what is the App ID URI in this scenario?&lt;/P&gt;&lt;P&gt;The aud claim is auto-generated by Azure as we're using the OAuth v2 token endpoint: https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 23:26:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407168#M1942</guid>
      <dc:creator>Tanishq</dc:creator>
      <dc:date>2024-12-06T23:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: We need assistance with setting up JWT authentication for CyberArk Conjur Cloud with Azure as the JWT provider.</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407169#M1943</link>
      <description>&lt;P&gt;Hi @Tanishq Pandey​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you manually validated the token against the public key retrieved from Azure's JWKS URI ? If not, you can leverage curl command and if that works then the issue might be with Conjur's parsing of the JWKS URI response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl https://login.microsoftonline.com/{tenant_ID}/discovery/v2.0/keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2024 20:07:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/we-need-assistance-with-setting-up-jwt-authentication-for/m-p/1407169#M1943</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-12-07T20:07:30Z</dc:date>
    </item>
  </channel>
</rss>

