Git Product home page Git Product logo

Comments (15)

kspearrin avatar kspearrin commented on May 11, 2024 2

@ktreese It is still TODO. We finally got approved by Duo for support on their HTTP API, so we can look at this now again whenever I get some time.

from cli.

kspearrin avatar kspearrin commented on May 11, 2024

It's not supported today because the Duo flow for a non-GUI interface is much different than what we use for all the other apps that do have a GUI (Duo Web SDK).

For now, a backup 2FA method (Auth app, email, or Yubikey) is required.

from cli.

ventz avatar ventz commented on May 11, 2024

@kspearrin I don't know the internals of BW (specifically around the way you hook into your auth js library), but I can write a working Duo end-to-end example that you can just plug in. Would this be helpful? I am assuming you have a lot going with everything else - I definitely want to help if I can with this (we would use it heavily)

from cli.

kspearrin avatar kspearrin commented on May 11, 2024

I'm waiting to hear back from Duo about some issues regarding support this via Duo Auth API from the CLI.

from cli.

ventz avatar ventz commented on May 11, 2024

@kspearrin Thanks! Let me know if I can help somehow. If you want, check out LastPass-CLI too -- they have Duo auth implemented from the CLI (https://github.com/lastpass/lastpass-cli)

from cli.

ktreese avatar ktreese commented on May 11, 2024

Hello @kspearrin @ventz It would seem this is still outstanding. Is there still not an available means of using the cli for Duo users? Thanks!

from cli.

ventz avatar ventz commented on May 11, 2024

@kspearrin That's great!!

from cli.

atbtechgit avatar atbtechgit commented on May 11, 2024

Any word on this? I am in this same boat.

from cli.

kspearrin avatar kspearrin commented on May 11, 2024

I looked into this again, and it appears that Duo still has not properly enabled the Bitwarden application to use the Auth API. I have sent them another email requesting an update.

from cli.

atbtechgit avatar atbtechgit commented on May 11, 2024

Thanks, Kyle. We were trying to implement this into one of our apps and this is stopping us at the moment.

from cli.

kspearrin avatar kspearrin commented on May 11, 2024

@atbtechgit The workaround would be to enable another supported 2FA option on the account you are trying to use with the CLI.

from cli.

atbtechgit avatar atbtechgit commented on May 11, 2024

Would I be able to do that? Duo is setup at the org wide level.

from cli.

kspearrin avatar kspearrin commented on May 11, 2024

Yes, you can still use another 2fa method. You just can't not use 2FA if the org has setup Duo, since that option will always be provided.

from cli.

atbtechgit avatar atbtechgit commented on May 11, 2024

Thanks, Kyle. That does seem to work. Is there any way to auto-authenticate using Authy or something? Basically, I need to pass my auth token into my app when I am trying to login. I'm not sure if this has been done before.

from cli.

bitwarden-bot avatar bitwarden-bot commented on May 11, 2024

Hi ventz,
We're cleaning up our repositories in preparation for a major reorganization. Issues from last year will be marked as stale and closed after two weeks. If you still need help, comment to let us know and we'll look into it.
Thanks!

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.