<?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: Issue when connecting to Databricks using OAuth 2.0 token connection string in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/issue-when-connecting-to-databricks-using-oauth-2-0-token/m-p/92455#M1949</link>
    <description>&lt;P&gt;This will require further analysis, based on the information it seems there is no direct way to restrict this. Are you able to submit a support case so this can be analyzed?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 14:57:46 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2024-10-01T14:57:46Z</dc:date>
    <item>
      <title>Issue when connecting to Databricks using OAuth 2.0 token connection string</title>
      <link>https://community.databricks.com/t5/administration-architecture/issue-when-connecting-to-databricks-using-oauth-2-0-token/m-p/91016#M1848</link>
      <description>&lt;P&gt;Following the instructions on&amp;nbsp;&lt;A href="https://docs.databricks.com/en/integrations/odbc/authentication.html" target="_blank" rel="noopener"&gt;Authentication settings for the Databricks ODBC Driver | Databricks on AWS&lt;/A&gt;&amp;nbsp;I have created both Personal access token and&amp;nbsp;OAuth 2.0 token connection options in an application. However, I realized that, when I use OAuth 2.0 token connection string with specific parameters:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;AuthMech&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;11&lt;/SPAN&gt;
&lt;SPAN class=""&gt;Auth_Flow&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;
&lt;SPAN class=""&gt;Auth_AccessToken&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;oauth-token&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;, I am able to successfully connect to Databricks when I put&amp;nbsp;Personal access token as &amp;lt;oauth-token&amp;gt;, which in my case shouldn't be allowed.&lt;/P&gt;&lt;P&gt;On the other hand, if I put OAuth 2.0 token as &amp;lt;personal-access-token&amp;gt; in&amp;nbsp;Personal access token connection string with parameters:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;AuthMech&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;3&lt;/SPAN&gt;
&lt;SPAN class=""&gt;UID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;token&lt;/SPAN&gt;
&lt;SPAN class=""&gt;PWD&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;personal-access-token&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;, I get an exception, which is a desired behavior.&lt;/P&gt;&lt;P&gt;Is there a way to restrict connecting to Databricks with&amp;nbsp;Personal access token using&amp;nbsp;OAuth 2.0 connection string?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:52:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/issue-when-connecting-to-databricks-using-oauth-2-0-token/m-p/91016#M1848</guid>
      <dc:creator>NetRider</dc:creator>
      <dc:date>2024-09-19T08:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue when connecting to Databricks using OAuth 2.0 token connection string</title>
      <link>https://community.databricks.com/t5/administration-architecture/issue-when-connecting-to-databricks-using-oauth-2-0-token/m-p/92455#M1949</link>
      <description>&lt;P&gt;This will require further analysis, based on the information it seems there is no direct way to restrict this. Are you able to submit a support case so this can be analyzed?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:57:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/issue-when-connecting-to-databricks-using-oauth-2-0-token/m-p/92455#M1949</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-10-01T14:57:46Z</dc:date>
    </item>
  </channel>
</rss>

