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)