-
Notifications
You must be signed in to change notification settings - Fork 224
Issue with Duo Yubikey auth #121
Comments
On the
|
This is a big ask (at least until #129), but I think we might need to do some HTTP-level debugging. |
Getting the same issue myself |
We don't really use u2f at Segment, so this is going to be hard to repro. I did some experiments to show how you can get raw HTTP traffic: https://github.com/segmentio/aws-okta/wiki/HTTP-debugging Maybe that could shed some more light. |
unfortunately I'm on a MacOS client so capturing that traffic wouldn't be terribly easy (though maybe it's reproducible in a container) Is it possible for you to use a software U2F key to try to reproduce? https://github.com/github/SoftU2F |
I actually have a u2f key; it's more that the Okta set up would be tough. I might be able to get to it next week. The TLS key log method can work with a native client. It requires patching the HTTP clients and building a special bin though. |
I'm not sure if it helps or hurts but I'm doing U2F through duo. Also it fails harder when the debug flag isn't set. Debug mode actually makes it get farther, which is unexpected. Can get logs to show the difference tomorrow. |
@vivianho / @smiller171 I ran into this same issue and I think I found the problem. Can you take a look at #135 and see if that fixes it for you? |
@austinylin I'm trying to build it now. I usually build Go stuff in Docker but since I need a native Mac binary (can't pass USB devices into containers with Docker for Mac) It's taking me a bit. I'm attempting to cross-compile from within Docker, but if that fails I'll have to actually set up a Go environment on my system |
@austinylin thank you so much for this change, it worked for me!!
|
Working for me as well, but I'm not sure why the |
Ran into #121 while trying to get setup with Duo + U2F. After comparing the flow in the code to the browser it looks like aws-okta isn't calling the Duo status endpoint properly. That is required to exchange the txid we get for something Okta will take. I've tested this code with both U2F and Tokens and both now work.
Output:
OS: macOS 10.13.6
Yubikey: YubiKey 5C Nano
aws-okta version: 0.19.5 (I installed via
brew
)I disabled all other 2FA options on Okta and Duo just to isolate the problem (but fwiw Duo Push notifications work well)
The text was updated successfully, but these errors were encountered: