databricks-cli/libs/auth
Lennart Kats (databricks) 947d5b1e5c
Fix IsServicePrincipal() only working for workspace admins (#732)
## Changes

The latest rendition of isServicePrincipal no longer worked for
non-admin users as it used the "principals get" API.

This new version relies on the property that service principals always
have a UUID as their userName. This was tested with the eng-jaws
principal (8b948b2e-d2b5-4b9e-8274-11b596f3b652).
2023-09-05 11:20:55 +00:00
..
cache Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01:00
callback.go Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01:00
oauth.go Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
oauth_test.go Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01:00
page.tmpl Fix link to workspace after AWS OAuth login (#234) 2023-03-08 11:56:46 +01:00
service_principal.go Fix IsServicePrincipal() only working for workspace admins (#732) 2023-09-05 11:20:55 +00:00
service_principal_test.go Fix IsServicePrincipal() only working for workspace admins (#732) 2023-09-05 11:20:55 +00:00