<?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: Databricks OAuth: User-based OAuth (U2M) Databricks Connect in Apps in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/133509#M4139</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/184556"&gt;@robert-moyai&lt;/a&gt;&amp;nbsp;, are you still facing this issue?&lt;/P&gt;
&lt;P&gt;You may need to request your workspace admin to add the scopes you require to the app:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth#add-scopes-to-an-app" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth#add-scopes-to-an-app&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have further questions please ask, but if this and/or&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/173840"&gt;@Khaja_Zaffer&lt;/a&gt;&amp;nbsp;'s response help you resolve the issue, then click the "Accept as Solution" button to let us know.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;James&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2025 21:24:55 GMT</pubDate>
    <dc:creator>jamesl</dc:creator>
    <dc:date>2025-10-01T21:24:55Z</dc:date>
    <item>
      <title>Databricks OAuth: User-based OAuth (U2M) Databricks Connect in Apps</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/131880#M4027</link>
      <description>&lt;P&gt;I'm looking to use a databricks session in a Databricks app. The databricks session should be able to use user-based oauth (U2M) to ensure the app has same privileges as the authenticated user using the app. Databricks apps have the ability to use the X-Forwarded user token but these have downscoped permissions where databricks connect is not one of the scopes that can be added to this token.&lt;BR /&gt;&lt;BR /&gt;How do I enable my app to use a databricks session that is on-par in terms of privileges compared to app user authorization?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 09:36:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/131880#M4027</guid>
      <dc:creator>robert-moyai</dc:creator>
      <dc:date>2025-09-14T09:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks OAuth: User-based OAuth (U2M) Databricks Connect in Apps</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/131890#M4029</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/184556"&gt;@robert-moyai&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Good day mate!&lt;BR /&gt;&lt;BR /&gt;This is complicated but let me share the community link where there is detailed steps for this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.databricks.com/t5/technical-blog/implement-fine-grained-permissions-for-databricks-apps-with-on/ba-p/116884" target="_blank" rel="noopener"&gt;Implement fine-grained permissions for Databricks Apps with on-behalf-of-user authorization&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, I have a reference link from databricks documentation:&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-u2m" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/dev-tools/auth/oauth-u2m&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this will help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add more from the blog it confirms that&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Databricks Connect is not among the supported scopes&lt;/STRONG&gt; for OBO. That’s why even though OBO gets you parity with user permissions for SQL warehouses, Unity Catalog, and data access, you &lt;EM&gt;cannot yet&lt;/EM&gt; open a Databricks Connect session with that forwarded user token.&lt;/P&gt;&lt;P&gt;So the behavior you saw (“X-Forwarded-Access-Token missing Databricks Connect scope”) is expected. The blog confirms the design: OBO tokens are intentionally down-scoped.&lt;/P&gt;&lt;P&gt;Thank you. good day!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 11:15:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/131890#M4029</guid>
      <dc:creator>Khaja_Zaffer</dc:creator>
      <dc:date>2025-09-14T11:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks OAuth: User-based OAuth (U2M) Databricks Connect in Apps</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/131999#M4042</link>
      <description>&lt;P&gt;Thanks for you response and the links. But the documentation doesn't explicitly explain why the spark connect has been placed out of scope and what app builders should use to implement proper data governance using on behave of user permissions.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 14:27:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/131999#M4042</guid>
      <dc:creator>robert-moyai</dc:creator>
      <dc:date>2025-09-15T14:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks OAuth: User-based OAuth (U2M) Databricks Connect in Apps</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/133509#M4139</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/184556"&gt;@robert-moyai&lt;/a&gt;&amp;nbsp;, are you still facing this issue?&lt;/P&gt;
&lt;P&gt;You may need to request your workspace admin to add the scopes you require to the app:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth#add-scopes-to-an-app" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth#add-scopes-to-an-app&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have further questions please ask, but if this and/or&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/173840"&gt;@Khaja_Zaffer&lt;/a&gt;&amp;nbsp;'s response help you resolve the issue, then click the "Accept as Solution" button to let us know.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;James&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 21:24:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-oauth-user-based-oauth-u2m-databricks-connect-in-apps/m-p/133509#M4139</guid>
      <dc:creator>jamesl</dc:creator>
      <dc:date>2025-10-01T21:24:55Z</dc:date>
    </item>
  </channel>
</rss>

