Skip to content

Navigation Menu

Sign in
Sign up

How do I login with SSO on WSL? #326

Unanswered
gtbuchanan asked this question in Q&A
Discussion options

The docs explicitly say Chrome is required, so I don't have high hopes here. However, there appear to be ways to open the host's browser from WSL. I tried setting BROWSER, but Dashlane CLI doesn't seem to pick it up:

error: browserType.launch: Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome
Run "npx playwright install chrome"

Is there a particular reason for relying on Chrome? Is this something you'd be willing to add support for?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

You're right !
Our current CLI / SSO integration is only built with Chrome.
The only reason is that we try this integration first with the most popular browser.
Correct me if I'm wrong but the problem is not choosing your favorite browser. The problem is the integration with a WSL environment, right ?

You must be logged in to vote
1 reply
Comment options

We use Playwright to interact with the browser.
Can you have a look at this to verify if it is working for you ?
https://medium.com/@matthewkleinsmith/headful-playwright-with-wsl-4bf697a44ecf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /