Provide IP Address in Duo Request (#18811)

* Provide IP Address in Duo Request

* CL
This commit is contained in:
Hamid Ghaf
2023-01-24 17:28:59 -05:00
committed by GitHub
parent 17be1024e4
commit f398a14f7b
2 changed files with 4 additions and 0 deletions

3
changelog/18811.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:improvement
auth: Provide an IP address of the requests from Vault to a Duo challenge after successful authentication.
```

View File

@@ -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())