crowbar no longer works with Okta, a SAML IdP
I am trying to use an already configured profile with crowbar, which I remember was working earlier. It fails before prompting for login credentials.
$ crowbar exec myprofile -- aws s3 ls
Unable to login
Caused by:
1: HTTP status client error (401 Unauthorized) for url (https://<subdomain>.okta.com/api/v1/authn)
Using crowbar v0.3.7
Yes, this is an unfortunate side-effect of crowbar having no facility to invalidate the credentials associated with your Okta account. You've probably changed your password recently and thus the password crowbar stored for your profile before is now invalid. You can work around this issue by deleting all references to crowbar from your local password store (macOS Keychain, Linux GNOME Keyring, Windows Cert Manager). crowbar will then ask you for your password again on the next run.
Purging the credentials from Keyring fixes the issue. Thanks.