Comments (15)
@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.
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.
@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.
I'm waiting to hear back from Duo about some issues regarding support this via Duo Auth API from the CLI.
from cli.
@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.
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.
@kspearrin That's great!!
from cli.
Any word on this? I am in this same boat.
from cli.
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.
Thanks, Kyle. We were trying to implement this into one of our apps and this is stopping us at the moment.
from cli.
@atbtechgit The workaround would be to enable another supported 2FA option on the account you are trying to use with the CLI.
from cli.
Would I be able to do that? Duo is setup at the org wide level.
from cli.
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.
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.
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)
- Unable to login - Access denied HOT 1
- bw CLI sync without unlocking HOT 1
- `export` command can be verified with positional argument non-interactively: `BW_NOINTERACTION` check is invalid HOT 3
- `bw lock` causes logout HOT 6
- CLI login with API key fails with "invalid client" error HOT 1
- Error CLI and APP HOT 1
- Can't login with API Key HOT 1
- could not create item in organization collection
- Doesn't work. HOT 1
- login error: unable to get local issuer certificate HOT 5
- bw generate fails on 1.21.0 HOT 1
- `bw get totp` claims I don't have premium HOT 3
- 1.21.1 regressed compared to 1.19.1. `bw list items` became unreliable HOT 23
- bw item create error Cannot refresh token, no refresh token or api keys are stored HOT 3
- `invalid password` on `1.22.0-1`, logs in on `1.21.1-1` HOT 2
- How do I add users to org-collections HOT 1
- Security improvement: Bind node server to localhost for Vault Management API HOT 1
- CLI forbidding premium features on premium account HOT 2
- Open security vulnerabilities in node-forge dependency HOT 1
- error:02001003 with self hosted server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.