AndyK
New Contributor II

Hi,

Make sure your token endpoint url is like this: https://<databricks-instance>/oidc/v1/token.

Refer here for workspace-level access token: https://docs.databricks.com/aws/en/dev-tools/auth/oauth-m2m

Also make sure you have granted access of the service principal to the app: https://apps-cookbook.dev/docs/fastapi/getting_started/connections/connect_from_app