From e0860e6a0a162b523215a411401002e33388033b Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 09:55:45 +0000 Subject: [PATCH] Update guides/cli/cli-authentication.mdx --- guides/cli/cli-authentication.mdx | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/guides/cli/cli-authentication.mdx b/guides/cli/cli-authentication.mdx index 9d6a2be7..e2527f0b 100644 --- a/guides/cli/cli-authentication.mdx +++ b/guides/cli/cli-authentication.mdx @@ -7,18 +7,18 @@ icon: "key" ## Login - -To log in to your Lightdash instance using OAuth2, run the following command: + +To log in to your Lightdash instance, run the following command: ```bash - lightdash login https://{{ lightdash_domain }} --oauth + lightdash login https://{{ lightdash_domain }} ``` where `{{ lightdash_domain }}` is the address for your running Lightdash instance. For example Lightdash cloud users in the US would type `lightdash login https://app.lightdash.cloud` if you're in Europe you'd type`lightdash login https://eu1.lightdash.cloud`. This will open a new tab in your default browser. Log in to your Lightdash account (if you're not already logged in), then authorize the lightdash-cli client. -Once authorized, you’ll be logged in and ready to use the CLI. +Once authorized, you'll be logged in and ready to use the CLI. @@ -27,14 +27,8 @@ Once authorized, you’ll be logged in and ready to use the CLI. - - To login to your Lightdash instance run the following command and provide your login email and password: - - ```bash - lightdash login https://{{ lightdash_domain }} - ``` - - where `{{ lightdash_domain }}` is the address for your running Lightdash instance. For example Lightdash cloud users in the US would type `lightdash login https://app.lightdash.cloud` if you're in Europe you'd type`lightdash login https://eu1.lightdash.cloud`. + + Password authentication is deprecated and no longer supported. Please use OAuth2 or personal access tokens instead. @@ -108,4 +102,4 @@ Some of our favourites are: * [Testing your changes with developer previews using lightdash preview](/guides/cli/how-to-use-lightdash-preview) -* [Deploying your changes to production using lightdash deploy](/guides/cli/how-to-use-lightdash-deploy) \ No newline at end of file +* [Deploying your changes to production using lightdash deploy](/guides/cli/how-to-use-lightdash-deploy)