Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Duo 2fa error #89

Closed
aplsms opened this issue Oct 19, 2018 · 5 comments
Closed

Duo 2fa error #89

aplsms opened this issue Oct 19, 2018 · 5 comments

Comments

@aplsms
Copy link

aplsms commented Oct 19, 2018

Hello,
I have a problem with one user during 2fa to Duo mobile.

$ aws-okta -d exec cnc -- aws s3 ls
DEBU[0000] Parsing config file /Users/lwaisberg/.aws/config
DEBU[0000] Using aws_saml_url from profile: cnc
DEBU[0000] using okta provider
DEBU[0000] Failed to reuse session token, starting flow from start
DEBU[0000] Step: 1
DEBU[0001] Step: 2
INFO[0001] Requesting MFA
DEBU[0001] 00...............................DS
DEBU[0001] Okta Factor Provider: DUO
DEBU[0001] Okta Factor ID: dsfk................0x7
DEBU[0001] Okta Factor Type: web
DEBU[0002] Host:api-e5f9f14f.duosecurity.com
Signature:TX|bHdha................................7624
StateToken:00jB.................ttiPhVeDS

DEBU[0002] challenge u2f
INFO[0002] Sending Push Notification...
Failed Duo challenge

login to AWS console is working fine. Another user has no such issue.

could you point me to the way to investigate this issue?

aws-okta version 0.19.4

@nickatsegment
Copy link
Contributor

First, try deleting the keychain items (they're searchable as aws-okta). That's happened to me before.

Otherwise, I wonder if there's a protocol-level problem. aws-okta uses undocumented Duo APIs to get the job done. Try adding debug logging that dumps the HTTP request/response objects and comparing them between your flow and the working flow from the other user.

@nickatsegment
Copy link
Contributor

Also, are you a Duo admin?

@aplsms
Copy link
Author

aplsms commented Oct 20, 2018

I'm not Duo admin, bur he is sitting next to me.
I will delete aws-okta keychain item and repeat that again.
is there any way to get full debug of http/https session on aws-okta?

@aplsms
Copy link
Author

aplsms commented Oct 23, 2018

clean up of keychain did not help. is it possible to set level of logging like "trace" just to see requests and responses?

@aplsms
Copy link
Author

aplsms commented Oct 25, 2018

fixed by reinstall Mac.

@aplsms aplsms closed this as completed Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants