Tags: Brightspace/bmx
Tags
add passwordless timeout config value (#529) ### Why Zscaler can be slow for some people. Bump the default timeout from 15 to 30 seconds and add an optional config value to lower timeout or just disable passwordless entirely. Updating the tests in vulcan-scratch repo too to cover a few scenarios ### Ticket [HOD-4334 - BMX: support longer timeouts](https://desire2learn.atlassian.net/browse/HOD-4334)
add passwordless timeout config value (#529) ### Why Zscaler can be slow for some people. Bump the default timeout from 15 to 30 seconds and add an optional config value to lower timeout or just disable passwordless entirely. Updating the tests in vulcan-scratch repo too to cover a few scenarios ### Ticket [HOD-4334 - BMX: support longer timeouts](https://desire2learn.atlassian.net/browse/HOD-4334)
check for ACTIVE session id when doing passwordless authentication (#524 ) ### Why Turning off zscaler gives a bit of time where DSSO will return a session id but not one with status `ACTIVE` and so it is useless ``` C:\code\bmx\src\D2L.Bmx\bin\Release\net9.0\win-x64\publish [main ≡ +1 ~2 -0 !]> bmx login Okta org or domain name: d2l (from config file) Okta username: lgordon (from config file) Attempting Okta passwordless authentication... Launching browser: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe Creating new browser tab Navigating to https://d2l.okta.com/ Browser loaded https://d2l.okta.com/ Browser loaded https://d2l.kerberos.okta.com/login/agentlessDsso/interact?precheck=false&interactionHandle=008f3771y2gka-vRMCmgq3qHDLsB FHfxLabbDc1wXJ Browser loaded https://d2l.okta.com/login/second-factor?fromURI=%2Fapp%2FUserHome%3Fiss%3Dhttps%253A%252F%252Fd2l.okta.com%26login_hint %3Dlgordon%2540desire2learn.com Okta passwordless authentication failed. An active session ID was not returned from Okta. Falling back to Okta password authentication... Okta password: ``` ### Ticket [HOD-4575 - BMX > fix passwordless auth](https://desire2learn.atlassian.net/browse/HOD-4575) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: DotNet Format Bot <dotnet-format-bot@github.d2l>
disable passwordless for macOS (#495) Testing suggests that DSSO isn't enabled/configured for macOS at D2L, so - we cannot test passwordless auth on macOS - enabling it would mean a few seconds of useless waiting for D2L Mac users and a subpar UX
don't print duration if --non-interactive supplied (#475) Not a big deal and shouldn't affect any practical use cases, but at least for consistency sake, duration should be like other parameters - don't print if the `--non-interactive` flag is supplied on the command line.
fix how we find parent process (#472) Turns out BusyBox only implements a small portion of the [POSIX spec][1] for its [ps][2], so our code that gets the parent process (and hence `bmx print`) never worked on Alpine... (I guess no one ever used `bmx print` on alpine...) Switch to use native API call, which is actually easier. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html [2]: https://boxmatrix.info/wiki/Property:ps https://desire2learn.atlassian.net/browse/VUL-403
PreviousNext