Skip to content

Commit 2aa755d

Browse files
authored
Update users_get_current.mdx
1 parent 42796b3 commit 2aa755d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/streamlit/authentication/users_get_current.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if user_access_token:
4444
```
4545

4646
:::info
47-
This sample requires [on-behalf-of-user authentication](https://docs.databricks.com/aws/en/dev-tools/databricks-apps/app-development#-using-the-databricks-apps-authorization-model) to be enabled for your app to access the `X-Forwarded-Access-Token` header. Without this, you will only have access to basic user information from the headers, not the detailed information from the Databricks API. Without the user token present, `w.current_user.me()` will return information about the app service principal.
47+
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.
4848
:::
4949

5050
## Resources

0 commit comments

Comments
 (0)