Authentication Failed: Okta auth failed: The API returned an Error: Authentication Failed (code=E0000004)
Getting this Error when 2 of our users are logging in to Vault via Okta.
Bookmark Integration using authentication via API
Vault OpenSource Vault 1.4.1
We checked logs and Okta is Denying the sign-on policy and those 2 users are not able to receive 2FA on okta verify. Other apps works just fine and can receive 2FA and so is for other users who has vault assigned to them.
The workaround was 2 exclude them from the sign-on policy.
Okta then investigated the issues it seems authentication is configured correctly but Vault is giving out the error.