<?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: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203172#M4594</link>
    <description>&lt;P&gt;Thank you Harry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Dec 2018 10:22:03 GMT</pubDate>
    <dc:creator>samT</dc:creator>
    <dc:date>2018-12-07T10:22:03Z</dc:date>
    <item>
      <title>Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203168#M4590</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt; 
&lt;P&gt;I am able to create a SalesforceConnection using Basic method. But getting below error when I try to&amp;nbsp;create a connection using type OAuth.&lt;/P&gt; 
&lt;P&gt;RuntimeException: HTTP status:400 - Bad Request message:&lt;/P&gt; 
&lt;P&gt;{"error":"invalid_grant","error_description":"audience is invalid"}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I followed the steps exactly mentioned here:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/4cgA8~D~pdi5biHRfSvg_Q/ZoXS~zBdrcuQAx427Yv6Gw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/4cgA8~D~pdi5biHRfSvg_Q/ZoXS~zBdrcuQAx427Yv6Gw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Please help me to resolve this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here are the steps I have performed : (Talend Documentation)&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;Downloaded the self signed certificate from salesforce.&lt;/LI&gt; 
 &lt;LI&gt;Created the connected app&lt;/LI&gt; 
 &lt;LI&gt;&lt;P&gt;Used following url to authenticate the user&lt;/P&gt;&lt;P&gt;&lt;A href="https://test.salesforce.com/services/oauth2/authorize" target="_blank" rel="nofollow noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;FONT color="#0066cc"&gt;https://test.salesforce.com/services/oauth2/authorize&lt;/FONT&gt;&lt;/A&gt;? &amp;lt;client_id&amp;gt;=&amp;amp; redirect_uri=&lt;A href="https://test.salesforce.com/services/oauth2/success&amp;amp;" target="_blank" rel="nofollow noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;FONT color="#0066cc"&gt;https://test.salesforce.com/services/oauth2/success&amp;amp;&lt;/FONT&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;response_type=code&lt;/P&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;Settings on talend connection:&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Name :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Name of the Connection&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Connection Type :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;oAuth&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Oauth2 flow type :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Json web token Flow&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Issuer :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;client_Id from connected app&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Subject :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Salesforce userName&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Expiration in time :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;600&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Keystore :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Certificate from salesforce&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Keystore Password :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;password for certificate&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;Certificate alias :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Name of the connected App.&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;Advanced setting :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Salesforce Url :&lt;/STRONG&gt;&lt;A href="https://test.salesforce.com/services/oauth2" target="_blank" rel="nofollow noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;FONT color="#0066cc"&gt;https://test.salesforce.com/services/oauth2&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203168#M4590</guid>
      <dc:creator>samT</dc:creator>
      <dc:date>2024-11-16T07:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203169#M4591</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Did you&amp;nbsp;create your own connected app required by JWT Flow in Salesforce? &lt;/P&gt; 
&lt;P&gt;We have recheck with the related documentation step by step and it works from our end.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oauth_jwt_works_well.png" style="width: 947px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0lC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145016iBC7E07BA9A8C2C4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0lC.png" alt="0683p000009M0lC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 06:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203169#M4591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-05T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203170#M4592</link>
      <description>&lt;P&gt;Thanks for checking this Sabrina.&lt;/P&gt;&lt;P&gt;Yes I created my own connected app same as mentioned in the steps. My problem is I am able to connect to production Salesforce without issue but having problem when trying to connect to a Sandbox environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 09:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203170#M4592</guid>
      <dc:creator>samT</dc:creator>
      <dc:date>2018-12-05T09:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203171#M4593</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LOpbAAG"&gt;@samT&lt;/A&gt;, please check my answer to this other topic : 
&lt;A href="https://community.qlik.com/s/feed/0D73p000004kWSwCAM#M88491" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Talend-SF-Connection-JWT-runtime-exception-https-status-400-bad/m-p/143412/highlight/false#M88491&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 06 Dec 2018 11:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203171#M4593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T11:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203172#M4594</link>
      <description>&lt;P&gt;Thank you Harry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 10:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203172#M4594</guid>
      <dc:creator>samT</dc:creator>
      <dc:date>2018-12-07T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203173#M4595</link>
      <description>&lt;P&gt;Hello Sabrina, please check if you can connect to a salesforce sandbox using OAuth.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 10:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203173#M4595</guid>
      <dc:creator>samT</dc:creator>
      <dc:date>2018-12-07T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203174#M4596</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LOpbAAG"&gt;@samT&lt;/A&gt;&amp;nbsp;wrote:
 &lt;BR /&gt; 
 &lt;P&gt;Hello Sabrina, please check if you can connect to a salesforce sandbox using OAuth.&lt;/P&gt; 
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;I don't have a&lt;SPAN&gt;&amp;nbsp;salesforce sandbox and will check it with our Dev and IT to see if it is possible to have&amp;nbsp;a salesforce sandbox testing environment.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 08:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203174#M4596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T08:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203175#M4597</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sabrina,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do you have update for this issue. I am migrating talend to 7.2.1. I got the same error while using JSON web Token Flow to do OAUTH against SF sandbox.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 22:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203175#M4597</guid>
      <dc:creator>Selina1</dc:creator>
      <dc:date>2019-08-28T22:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Talend DI 7.0 to Salesforce connection using Oauth JWT audience is invalid error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203176#M4598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Talend does not support sandbox audience in this V 7.1 version of the tSalesforceConnection component. So, you can't connect to a sandbox instance using the JWT Flow.&lt;/P&gt;&lt;P&gt;This is permanently fix in Talend 7.2.1&lt;/P&gt;&lt;P&gt;Or try to use the other two available authentication methods Basic or OAuth (Implicite) to connect to Sandbox.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 02:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-DI-7-0-to-Salesforce-connection-using-Oauth-JWT-audience/m-p/2203176#M4598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-03T02:41:12Z</dc:date>
    </item>
  </channel>
</rss>

