Dashlane / dashlane-cli

👩‍💻 Dashlane CLI - Access your secrets in your terminal, servers and CI/CD
https://cli.dashlane.com/
Apache License 2.0
189 stars 52 forks source link

jumpcloud sso login fails after closing the browser #277

Closed TwiggyWan closed 3 months ago

TwiggyWan commented 3 months ago

Hi Describe the bug dcli does not log in through my jumpcloud sso properly.

$ dcli note --debug
debug: Connected to database.
? Please enter your email address: REDACTED
# browser opens, i type my creds and 2FA, then browser closes
debug: Registering the device...
error: table device has 10 columns but 11 values were supplied

To Reproduce Steps to reproduce the behavior:

  1. get a jumpcloud test account
  2. Run 'dcli note' and go through the authentication process
  3. See error

Expected behavior dcli is logged in correctly.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Tried with Google Chrome 127.0.6533.119 as well as with Chromium 125.0.6422.60 (through a symlink, by the way why do you look for chrome in /opt/google/chrome/chrome and not just in $PATH? you bypass completely how google-chrome installs and manages its alternative versions)

Mikescops commented 3 months ago

Hello,

You have the same issue than #275 and #101.

Run: dcli logout this will clean your local storage, then run dcli sync and login again, it will recreate the storage with the correct table model.