Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the AzureTenantId in oauth.go (#210)
AzureTenantId was hardcoded as a constant which was linked to ".staging.azuredatabricks.net". Therefore, if the host URL was for example from ".azuredatabricks.net", it failed to detect ClientId. I replaced the const value with a map to find the AzureTenantId based on the DSN host. --------- Signed-off-by: Erfan Mahmoodnejad <[email protected]> Co-authored-by: Erfan Mahmoodnejad <[email protected]>
- Loading branch information