<?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 Databricks App cannot authenticate to another Databricks App MCP server (OAuth consent redirect) in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/databricks-app-cannot-authenticate-to-another-databricks-app-mcp/m-p/148260#M1633</link>
    <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;I am building an MCP client as a Databricks App that connects to an MCP server hosted on another Databricks App. The client works locally but fails when deployed due to OAuth consent redirect.&lt;BR /&gt;&lt;BR /&gt;Question: What is the recommended authentication approach for Databricks App-to-App communication?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Feb 2026 07:26:37 GMT</pubDate>
    <dc:creator>venkatved</dc:creator>
    <dc:date>2026-02-13T07:26:37Z</dc:date>
    <item>
      <title>Databricks App cannot authenticate to another Databricks App MCP server (OAuth consent redirect)</title>
      <link>https://community.databricks.com/t5/generative-ai/databricks-app-cannot-authenticate-to-another-databricks-app-mcp/m-p/148260#M1633</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;I am building an MCP client as a Databricks App that connects to an MCP server hosted on another Databricks App. The client works locally but fails when deployed due to OAuth consent redirect.&lt;BR /&gt;&lt;BR /&gt;Question: What is the recommended authentication approach for Databricks App-to-App communication?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 07:26:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/databricks-app-cannot-authenticate-to-another-databricks-app-mcp/m-p/148260#M1633</guid>
      <dc:creator>venkatved</dc:creator>
      <dc:date>2026-02-13T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks App cannot authenticate to another Databricks App MCP server (OAuth consent redirect)</title>
      <link>https://community.databricks.com/t5/generative-ai/databricks-app-cannot-authenticate-to-another-databricks-app-mcp/m-p/149441#M1643</link>
      <description>&lt;P&gt;&lt;STRONG&gt;TLDR&lt;/STRONG&gt;: For Databricks App-to-App communication, you should use the client app's automatically provisioned Service Principal rather than On-Behalf-Of (OBO) user authentication to avoid interactive OAuth consent redirects.&lt;BR /&gt;&lt;STRONG&gt;Why Your Local Approach Fails in Deployment&lt;/STRONG&gt; When relying on OBO user authentication, the platform requires the user to interactively grant consent via a browser redirect the first time they use the application. While this works when you are actively navigating an interface, an app-to-app background connection cannot process this interactive UI redirect, which causes the deployment to fail.&lt;BR /&gt;&lt;STRONG&gt;Recommendation&lt;/STRONG&gt;: Databricks Apps are natively designed with automatically managed Service Principals specifically built for secure app-to-app communication. Every time an app is created, it is automatically assigned a dedicated Service Principal.&lt;BR /&gt;&lt;STRONG&gt;To fix your deployment&lt;/STRONG&gt;:&lt;BR /&gt;Use M2M Authentication: Configure your client Databricks App to authenticate to the server Databricks App using its dedicated Service Principal instead of passing through an OBO user token.&lt;BR /&gt;Grant Access: Ensure you grant the client app's Service Principal the proper access permissions to hit the backend server app's API.&lt;/P&gt;
&lt;P&gt;Please accept the solution if my recommendation worked for you.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 04:18:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/databricks-app-cannot-authenticate-to-another-databricks-app-mcp/m-p/149441#M1643</guid>
      <dc:creator>Lu_Wang_ENB_DBX</dc:creator>
      <dc:date>2026-02-27T04:18:58Z</dc:date>
    </item>
  </channel>
</rss>

