Skip to content

Commit

Permalink
Endring etter oppdatering til siste versjon av JWT (#119)
Browse files Browse the repository at this point in the history
Co-authored-by: Jarle Børsheim <jarle.borsheim@sonat.no>
  • Loading branch information
jarleborsheim and jarleborsheim authored Jan 23, 2023
1 parent f48938a commit 549800c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion KS.Fiks.Maskinporten.Client.Tests/TestHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static string EncodeJwt(string keyId, Dictionary<string, object> claims)
var builder = new JwtBuilder()
.WithAlgorithmFactory(_factory)
.WithAlgorithm(new RS256Algorithm(Certificate))
.WithSerializer(_serializer)
.WithJsonSerializer(_serializer)
.WithValidator(_validator)
.WithSecret("passord")
.AddHeader(HeaderName.KeyId, keyId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<AssemblyOriginatorKeyFile>maskinporten.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JWT" Version="9.0.3" />
<PackageReference Include="JWT" Version="10.0.1" />
<PackageReference Include="KS.Fiks.QA" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
Expand Down

0 comments on commit 549800c

Please sign in to comment.