Skip to content

Commit

Permalink
trim https://
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Jul 12, 2024
1 parent 03a0664 commit 45b9ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/auth_databricks_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 45b9ae7

Please sign in to comment.