<?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 Apps - X-Forwarded-Access-Token not available in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/126309#M3729</link>
    <description>&lt;P&gt;For anybody who comes across this post with the same issue, this issue is caused by enabling the on-behalf-of preview after deploying an App.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is to fully&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;stop&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;the App and then start it again after the preview has been enabled. Redeploying won't fix the issue, you have to do a full stop and start.&lt;/P&gt;&lt;P&gt;At the time of writing this is not part of the on-behalf-of documentation, but I have been told it will be added soon.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2025 09:27:32 GMT</pubDate>
    <dc:creator>jAAmes_bentley</dc:creator>
    <dc:date>2025-07-24T09:27:32Z</dc:date>
    <item>
      <title>Databricks Apps - X-Forwarded-Access-Token not available</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/126074#M3703</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've recently been getting started with Databricks Apps, and have been trying to use on-behalf-of access. However, it seems that the X-Forwarded-Access-Token is not coming through in my app headers. I have lots&amp;nbsp;of other X-Forwarded ones such as Email, Host, User, etc, but not the Access-Token.&lt;/P&gt;&lt;P&gt;I have enabled the On-Behalf-Of User Auth preview in the previews settings of my account. On the app config page I have then tried to enable app resources and scopes as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jAAmes_bentley_0-1753219027973.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18384iC88251C44F1478C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jAAmes_bentley_0-1753219027973.png" alt="jAAmes_bentley_0-1753219027973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe this might be where the issue is, when I click "save", the API scopes field remain empty no matter what scopes I try to give the user. The resource seems to stay, but the scope seems to be lost every time:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jAAmes_bentley_1-1753219116820.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18385i959FEC479CA7AE67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jAAmes_bentley_1-1753219116820.png" alt="jAAmes_bentley_1-1753219116820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I missing something or doing something wrong? I have tried in another workspace with the same outcome.&lt;/P&gt;&lt;P&gt;Any feedback is welcome, thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 21:22:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/126074#M3703</guid>
      <dc:creator>jAAmes_bentley</dc:creator>
      <dc:date>2025-07-22T21:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Apps - X-Forwarded-Access-Token not available</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/126309#M3729</link>
      <description>&lt;P&gt;For anybody who comes across this post with the same issue, this issue is caused by enabling the on-behalf-of preview after deploying an App.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is to fully&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;stop&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;the App and then start it again after the preview has been enabled. Redeploying won't fix the issue, you have to do a full stop and start.&lt;/P&gt;&lt;P&gt;At the time of writing this is not part of the on-behalf-of documentation, but I have been told it will be added soon.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 09:27:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/126309#M3729</guid>
      <dc:creator>jAAmes_bentley</dc:creator>
      <dc:date>2025-07-24T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Apps - X-Forwarded-Access-Token not available</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/145015#M4754</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Just to add from my experience, in case James’s solution doesn’t work for you:&lt;/P&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;I tried fully stopping and restarting the app, but the user authentication page which asks for permission didn’t appear until I used incognito mode&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 15:04:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-apps-x-forwarded-access-token-not-available/m-p/145015#M4754</guid>
      <dc:creator>jlieow</dc:creator>
      <dc:date>2026-01-23T15:04:42Z</dc:date>
    </item>
  </channel>
</rss>

