From 45b9ae7234934e2da01c8a8362d108f759806ed3 Mon Sep 17 00:00:00 2001 From: Miles Yucht Date: Fri, 12 Jul 2024 08:52:12 +0200 Subject: [PATCH] trim https:// --- config/auth_databricks_oidc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/auth_databricks_oidc.go b/config/auth_databricks_oidc.go index 1d7a8cf51..c544791e3 100644 --- a/config/auth_databricks_oidc.go +++ b/config/auth_databricks_oidc.go @@ -22,7 +22,7 @@ func (d DatabricksOIDCCredentials) Configure(ctx context.Context, cfg *Config) ( } // Get the OIDC token from the environment. - audience := cfg.CanonicalHostName() + audience := cfg.CanonicalHostName()[8:] if cfg.IsAccountClient() { audience = cfg.AccountID }