Comments (8)
from bosh-cli.
from bosh-cli.
- UAA is configured for both SAML and internal authentication
- With both enabled, bosh-cli does not allow login to internal because of
AskForPassword
- Ruby cli does not exhibit this behavior
from bosh-cli.
Minor clarification--the ruby cli does incorrectly prompt for an otp when both saml and local accounts are enabled, but it's still possible to use local accounts because the ruby cli accepts empty strings for the otp. The golang cli doesn't accept empty strings here, so it's impossible to login in this situation.
from bosh-cli.
...but it's still possible to use local accounts because the ruby cli accepts empty strings for the otp. The golang cli doesn't accept empty strings here, so it's impossible to login in this situation.
ah. nice find! sounds like we can fix that. it's using go-interact library: https://github.com/cloudfoundry/bosh-cli/blob/master/ui/ui.go#L101
from bosh-cli.
@sharms @jmcarp if it's easy can you check if removing interact.Required(...)
wrapper from two lines: [1], [2] allows you to log in?
[1] https://github.com/cloudfoundry/bosh-cli/blob/master/ui/ui.go#L104
[2] https://github.com/cloudfoundry/bosh-cli/blob/master/ui/ui.go#L132
from bosh-cli.
@cppforlife: yep, allowing prompt values to be empty lets us log in again. I sent an example in #62.
from bosh-cli.
Closed via PR#62. Next of version of CLI will have it.
from bosh-cli.
Related Issues (20)
- [Question] About release v6.4.8 HOT 5
- Running deploy with a certain variable value panics HOT 3
- BOSH CLI on Windows platform is holding file lock on ssh-known-hosts file prevent ssh child process to read it HOT 4
- Release binaries for arm64 HOT 2
- Set the the ACL when uploading to S3 HOT 3
- Allow importing bosh-cli v6.4.2 as a dependency HOT 2
- TLS handshake failure occurs when downloading bosh-release HOT 2
- bosh upload-release (from source) ignores local changes HOT 2
- Specifying instances by index ambiguous HOT 3
- Updating package via bosh `vendor-package --prefix` does not honor prefix on dependent packages HOT 3
- Adding `--preview` parameter to bosh deploy command before commencing deployment HOT 5
- Creating releases with blobs are broken on Windows HOT 3
- Replace --force flag with --dev-release? HOT 7
- delete_stemcell is causing bosh CLI to fail when stemcell already does not exist HOT 2
- Is a internal ca certificate can be used for HOT 2
- [Windows] Missing bosh create-env support HOT 12
- Default interpolated x509 certificates have invalid 3 digits USA country code
- CLI crashes on trying to select multiple columns to print HOT 4
- bosh-cli didn't read the trailing zero '0' of stemcell version in manifest HOT 1
- About the latest release HOT 2
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 bosh-cli.