Skip to content

Commit 42796b3

Browse files
authored
Update users_get_current.py
1 parent fe1308f commit 42796b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streamlit/views/users_get_current.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
with tab_a:
1414
st.info(
15-
"This sample will only work when deployed to Databricks Apps and not when running locally. Enable [on-behalf-of-user authentication](https://docs.databricks.com/aws/en/dev-tools/databricks-apps/app-development#-using-the-databricks-apps-authorization-model) for your app to access the `X-Forwarded-Access-Token` header.",
15+
"For this sample to work when running on your local machine, use the `databricks apps run-local` CLI command which injects the necessary HTTP headers.",
1616
icon="ℹ️",
1717
)
1818

0 commit comments

Comments
 (0)