alphagov / notifications-net-client

.NET client for the GOV.UK Notify API
https://www.nuget.org/packages/GovukNotify/
MIT License
25 stars 20 forks source link

Update JWT to a later version #135

Closed klssmith closed 3 years ago

klssmith commented 3 years ago

There have been two major releases since the version we were using. From version 6.0.0 onwards the JwtDecoder takes a fourth argument, the algorithm. There are no changes to how the code works, but we do need to pass that argument in.

I've tested this change against the integration tests and it works with versions 6.x and 7.x of JWT, so have let people use either instead of pinning too precisely.