open-vault/vault/external_tests/identity
Hamid Ghaf 65a41d4f08
named Login MFA methods (#18610)
* named MFA method configurations

* fix a test

* CL

* fix an issue with same config name different ID and add a test

* feedback

* feedback on test

* consistent use of passcode for all MFA methods (#18611)

* make use of passcode factor consistent for all MFA types

* improved type for MFA factors

* add method name to login CLI

* minor refactoring

* only accept MFA method name with its namespace path in the login request MFA header

* fix a bug

* fixing an ErrorOrNil return value

* more informative error message

* Apply suggestions from code review

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* feedback

* test refactor a bit

* adding godoc for a test

* feedback

* remove sanitize method name

* guard a possbile nil ref

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-01-23 15:51:22 -05:00
..
aliases_test.go Store login MFA secret with tokenhelper (#17040) 2022-10-26 17:02:26 -04:00
entities_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
group_aliases_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
groups_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
identity_test.go Replicate member_entity_ids and policies in identity/group across nodes identically (#16088) 2022-06-28 19:54:24 -04:00
login_mfa_duo_test.go Username format login mfa (#15363) 2022-05-17 16:31:50 -04:00
login_mfa_okta_test.go Username format login mfa (#15363) 2022-05-17 16:31:50 -04:00
login_mfa_totp_test.go named Login MFA methods (#18610) 2023-01-23 15:51:22 -05:00
oidc_provider_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
userlockouts_test.go Prevent Brute Forcing: Create an api endpoint to list locked users OSS changes (#18675) 2023-01-17 14:25:56 -08:00