-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crowbar throws an error #68
Comments
Hey Josh, thank you for bringing this up. That looks like a Okta login error to me, likely because their login frontend has changed (there is no official API from Okta for logging into their service; Would you be able to test relevant changes? I could also provide you with a binary if you tell me your OS/architecture 🙂 |
@joshsirota One question before I start debugging: have you had to change your password recently? I just tried to reproduce the issue via Okta's developer platform and came up empty (i.e. it worked as expected) |
Yes, I can test anything, feel free to reach out. I'm on MacOS/ARM. |
Password is not the issue. I deleted my keychain items and it now prompts me for the new password, and I've confirmed that if I supply an incorrect password, I get a 403 and a proper error. This problem above only happens if it returns a 200 (correct password). I'm wondering if it has something to do with 2FA, which my Okta account requires. I will add that other people in my organization are using this without issue though. |
I will also add that I tried to build crowbar from source as a debugging step, but I'm not a Rust guy. I'm having a lot of errors like "error: cannot find derive macro |
Solved -- by removing the extra 2FA methods on my Okta account. I previously had 3 methods enabled: Okta Verify, Security Key or Biometric Authentication, and YubiKey Authenticator. I disabled all but Okta Verify and crowbar works now. |
Ah! So this is interesting, because it's likely an extension of the API, which covers even more second factors than I'll update my API tests and see how I can fix this going forward. I might still give you a binary to test once I've resolved the pending issues. Thanks! |
I had crowbar working from my Mac for several AWS accounts, but then it stopped working one day with the following error and I cannot figure out the issue. Can someone help? From looking at the code I think there's something it doesn't like about the response from Okta, but I don't know specifically what and even with
-ltrace
it doesn't show me enough to know what's wrong. I will say that if my credentials are wrong, I get an authentication error as expected, but with correct credentials, I can see that Okta gives a 200 response but then parsing it fails.The text was updated successfully, but these errors were encountered: