Skip to content

Commit fbed0d9

Browse files
authored
fix client-attestation (#176)
Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>
1 parent adf9aa5 commit fbed0d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WalletFramework.Oid4Vc/Oid4Vp/Services/Oid4VpClientService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ from path in field.Path.Select(path => path.TrimStart('$', '.'))
205205
// TODO: Introduce timeout
206206
var httpClient = _httpClientFactory.CreateClient();
207207
httpClient.DefaultRequestHeaders.Clear();
208+
if (clientAttestation != null)
209+
httpClient.AddClientAttestationPopHeader(clientAttestation);
210+
208211
var responseMessage = await httpClient.SendAsync(message);
209212
if (!responseMessage.IsSuccessStatusCode)
210213
{

0 commit comments

Comments
 (0)