Skip to content

Commit 535783a

Browse files
committed
add HttpMethod
1 parent 32763e1 commit 535783a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

4-Call-OwnApi-Pop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ The relevant code for this sample is in the `Program.cs` file, in the `RunAsync(
240240
try
241241
{
242242
result = await app.AcquireTokenForClient(scopes)
243-
.WithProofOfPossession(new PoPAuthenticationConfiguration(new Uri(popUri)))
243+
.WithProofOfPossession(new PoPAuthenticationConfiguration(new Uri(popUri)) { HttpMethod = HttpMethod.Get })
244244
.ExecuteAsync();
245245
}
246246
catch(MsalServiceException ex)

4-Call-OwnApi-Pop/daemon-console/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private static async Task RunAsync()
7575
try
7676
{
7777
result = await app.AcquireTokenForClient(scopes)
78-
.WithProofOfPossession(new PoPAuthenticationConfiguration(new Uri(popUri)))
78+
.WithProofOfPossession(new PoPAuthenticationConfiguration(new Uri(popUri)) { HttpMethod = HttpMethod.Get })
7979
.ExecuteAsync();
8080
Console.ForegroundColor = ConsoleColor.Green;
8181
Console.WriteLine("Token acquired \n");

0 commit comments

Comments
 (0)