diff --git a/changelog/18811.txt b/changelog/18811.txt new file mode 100644 index 000000000000..34a155dda5a4 --- /dev/null +++ b/changelog/18811.txt @@ -0,0 +1,3 @@ +```release-note:improvement +auth: Provide an IP address of the requests from Vault to a Duo challenge after successful authentication. +``` diff --git a/vault/login_mfa.go b/vault/login_mfa.go index c98389225655..2a7ac6c19a73 100644 --- a/vault/login_mfa.go +++ b/vault/login_mfa.go @@ -1951,6 +1951,7 @@ func (c *Core) validateDuo(ctx context.Context, mfaFactors *MFAFactor, mConfig * } } + options = append(options, authapi.AuthIpAddr(reqConnectionRemoteAddr)) options = append(options, authapi.AuthUsername(username)) options = append(options, authapi.AuthAsync())