65a41d4f08
* 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>
4 lines
215 B
Plaintext
4 lines
215 B
Plaintext
```release-note:improvement
|
|
auth: Allow naming login MFA methods and using those names instead of IDs in satisfying MFA requirement for requests.
|
|
Make passcode arguments consistent across login MFA method types.
|
|
``` |