cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to enable Databricks Apps User Authorization?

Upendra_Dwivedi
New Contributor III

Hi All,

I am working on implementation of user authorization in my databricks app. but to enable user auth it is asking:
"A workspace admin must enable this feature to be able to request additional scopes. The user's API downscoped access token is included in the request header as x-forwarded-access-token"

Does anyone knows how to enable this feature? Please share the steps.


Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Upendra_Dwivedi
New Contributor III

Hi All, We can find this setting under Previews. Go to workspace>click your username>Previews

View solution in original post

4 REPLIES 4

SP_6721
Contributor

Hi @Upendra_Dwivedi 

To enable this feature, you'll need to go to Apps in your workspace and turn on the On-Behalf-Of User Authorization option. After that, when you're creating or editing your app, make sure to select the necessary user API scopes, these define what the app is allowed to do on behalf of the user.

You can refer to the following documentation for step-by-step guidance:

Add on-behalf-of-user authorization to a Databricks app
Authentication and authorization in Databricks Apps

Hi @SP_6721  I don't see this option anywhere in the workspace or app page. can you tell me what could be the issue. Thankyou!

Hi, i am not able to find it anywhere, can you please let me know if i am missing anything here?

Upendra_Dwivedi
New Contributor III

Hi All, We can find this setting under Previews. Go to workspace>click your username>Previews