<?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 Snowflake database connection using OAuth 2.0 authentification in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2466854#M140895</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to connect to a Snowflake database using OAuth 2.0 authentification.&lt;BR /&gt;I have a Snowflake account with the following caracteristics :&lt;BR /&gt;CREATE SECURITY INTEGRATION MY_SNOWSQL_CLIENT2&lt;BR /&gt;TYPE = API_AUTHENTICATION&lt;BR /&gt;AUTH_TYPE = OAUTH2&lt;BR /&gt;ENABLED = TRUE&lt;BR /&gt;OAUTH_CLIENT_AUTH_METHOD = CLIENT_SECRET_POST&lt;BR /&gt;OAUTH_CLIENT_ID = 'xxxxxxxxxxxxx'&lt;BR /&gt;OAUTH_CLIENT_SECRET = 'xxxxxxxxxx'&lt;BR /&gt;OAUTH_TOKEN_ENDPOINT = '&lt;A href="https://xxxxxxx.snowflakecomputing.com/oauth/token-request" target="_blank" rel="noopener"&gt;https://xxxxxxx.snowflakecomputing.com/oauth/token-request&lt;/A&gt;'&lt;BR /&gt;OAUTH_ACCESS_TOKEN_VALIDITY = 86400&lt;BR /&gt;OAUTH_REFRESH_TOKEN_VALIDITY = 86400&lt;BR /&gt;OAUTH_GRANT = 'CLIENT_CREDENTIALS'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;When I try to connect to my database with Talend, I have this error message :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdelineA_0-1719838430263.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168706iB180E3CC19C77711/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdelineA_0-1719838430263.png" alt="AdelineA_0-1719838430263.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'java.lang.NullPointerException: Cannot invoke "com.fasterxml.jackson.databind.JsonNode.asText()" because the return value of "java.util.Optional.orElse(Object)" is null'&lt;/P&gt;
&lt;P&gt;Did anyone experienced the same issue ?&lt;BR /&gt;Do you know if there is a particular library to install to connect to Snowflake with OAuth 2.0 authentification ?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adeline&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 12:55:14 GMT</pubDate>
    <dc:creator>AdelineA</dc:creator>
    <dc:date>2024-07-01T12:55:14Z</dc:date>
    <item>
      <title>Snowflake database connection using OAuth 2.0 authentification</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2466854#M140895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to connect to a Snowflake database using OAuth 2.0 authentification.&lt;BR /&gt;I have a Snowflake account with the following caracteristics :&lt;BR /&gt;CREATE SECURITY INTEGRATION MY_SNOWSQL_CLIENT2&lt;BR /&gt;TYPE = API_AUTHENTICATION&lt;BR /&gt;AUTH_TYPE = OAUTH2&lt;BR /&gt;ENABLED = TRUE&lt;BR /&gt;OAUTH_CLIENT_AUTH_METHOD = CLIENT_SECRET_POST&lt;BR /&gt;OAUTH_CLIENT_ID = 'xxxxxxxxxxxxx'&lt;BR /&gt;OAUTH_CLIENT_SECRET = 'xxxxxxxxxx'&lt;BR /&gt;OAUTH_TOKEN_ENDPOINT = '&lt;A href="https://xxxxxxx.snowflakecomputing.com/oauth/token-request" target="_blank" rel="noopener"&gt;https://xxxxxxx.snowflakecomputing.com/oauth/token-request&lt;/A&gt;'&lt;BR /&gt;OAUTH_ACCESS_TOKEN_VALIDITY = 86400&lt;BR /&gt;OAUTH_REFRESH_TOKEN_VALIDITY = 86400&lt;BR /&gt;OAUTH_GRANT = 'CLIENT_CREDENTIALS'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;When I try to connect to my database with Talend, I have this error message :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdelineA_0-1719838430263.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168706iB180E3CC19C77711/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdelineA_0-1719838430263.png" alt="AdelineA_0-1719838430263.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'java.lang.NullPointerException: Cannot invoke "com.fasterxml.jackson.databind.JsonNode.asText()" because the return value of "java.util.Optional.orElse(Object)" is null'&lt;/P&gt;
&lt;P&gt;Did anyone experienced the same issue ?&lt;BR /&gt;Do you know if there is a particular library to install to connect to Snowflake with OAuth 2.0 authentification ?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adeline&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 12:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2466854#M140895</guid>
      <dc:creator>AdelineA</dc:creator>
      <dc:date>2024-07-01T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake database connection using OAuth 2.0 authentification</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2474032#M141082</link>
      <description>&lt;P&gt;I am having trouble finding documentation for it but, with regard to your Snowflake security integration, what did you use for your redirect URI?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2474032#M141082</guid>
      <dc:creator>Jareds</dc:creator>
      <dc:date>2024-07-31T17:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake database connection using OAuth 2.0 authentification</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2474621#M141101</link>
      <description>&lt;P&gt;We were having this same issue. The problem is that Talend only uses external OAuth. This means you must have an identify provider. When you create the security integration in Snowflake, the type will be external_oauth. You will need to provide snowflake with information from your identify provider.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the link to Snowflake's documentation on setting up an External Oauth Security Integration:&amp;nbsp;&lt;A href="https://docs.snowflake.com/en/user-guide/oauth-ext-overview" target="_blank"&gt;https://docs.snowflake.com/en/user-guide/oauth-ext-overview&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We found some of the information on the identify providers set ups to be a bit out of date. We had to use our identify provider's documentation to get the application set up correctly.&lt;/P&gt;
&lt;P&gt;What helped was adding the tLibraryLoad component to the integration during testing so we could see the exact error message and know what to change. It took a few iterations to get it right.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 15:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2474621#M141101</guid>
      <dc:creator>Joni1</dc:creator>
      <dc:date>2024-08-05T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake database connection using OAuth 2.0 authentification</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2491413#M141491</link>
      <description>&lt;P&gt;Did anyone try this and was successful, if yes pls help by providing detailed steps as in how three different components External OAuth security integration in Snowflake, Custom&amp;nbsp;authorization server and Talend were configured.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 14:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-database-connection-using-OAuth-2-0-authentification/m-p/2491413#M141491</guid>
      <dc:creator>m_garg</dc:creator>
      <dc:date>2024-11-07T14:09:11Z</dc:date>
    </item>
  </channel>
</rss>

