Skip to content

Commit

Permalink
[PECO-2153] Support OAuth on databricks.azure.cn (#271)
Browse files Browse the repository at this point in the history
[PEC-2153] Support OAuth on databricks.azure.cn

Signed-off-by: Jacky Hu <[email protected]>
  • Loading branch information
jackyhu-db authored Dec 16, 2024
1 parent 56bd0d9 commit af23aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection/auth/DatabricksOAuth/OAuthManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export default abstract class OAuthManager {
}

if (options.useDatabricksOAuthInAzure) {
const azureDomains = ['.azuredatabricks.net'];
const azureDomains = ['.azuredatabricks.net', '.databricks.azure.cn'];
const isAzureDomain = azureDomains.some((domain) => host.endsWith(domain));
if (isAzureDomain) {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
Expand Down

0 comments on commit af23aa0

Please sign in to comment.